steamapi icon indicating copy to clipboard operation
steamapi copied to clipboard

Establish basic guidelines for coding and formatting

Open rtizzy opened this issue 6 years ago • 2 comments

See https://github.com/smiley/steamapi/pull/61

Their doesn't appear to be any sort of guidelines for the code base which leads to some confusing formatting as seen in the pull above.

I would suggest standardizing in some way.

Going with Pep8 is an easy choice and is often well integrated into many editors.

rtizzy avatar Apr 10 '19 09:04 rtizzy

Some other auto-formatting options to consider:

https://medium.com/3yourmind/auto-formatters-for-python-8925065f9505

rtizzy avatar Apr 10 '19 09:04 rtizzy

Honestly after reviewing blacks code styling, I'd argue it's superior to autopep8 and I'll likely be switching my own editor to that :P

rtizzy avatar Apr 10 '19 09:04 rtizzy