steamcontroller icon indicating copy to clipboard operation
steamcontroller copied to clipboard

Refactoring of `src/*.py` files

Open JustKappaMan opened this issue 2 years ago • 1 comments

Hi @ynsta

I didn't change any logic and didn't break back compatibility with earlier Python versions.

Just fixed some stuff like:

  • if x == None: -> if x is None:
  • if len(lst) > 0: -> if lst:
  • if not s or s == '': -> if not s:
  • Formatting
  • Typos

If you're interested in such improvements -- merge this PR and I'll work on the rest of the code in the project :slightly_smiling_face:

JustKappaMan avatar Oct 27 '23 10:10 JustKappaMan

@ynsta any feedback? :slightly_smiling_face:

JustKappaMan avatar Nov 09 '23 07:11 JustKappaMan