ccowmu / whatistheplan.com

Reimagined Parkview LAN Party site
MIT License
5 stars 5 forks source link

Decide on standard tab width in source files #12

Closed cpgillem closed 9 years ago

cpgillem commented 9 years ago

Oh, python

Our most practical choices are: 4 spaces (that's what cpg likes and has in his vimrc) tab characters 2 spaces 8 spaces

If you want to do something weird like 7 spaces we can discuss it, but we'll probably laugh at you.

dyladan commented 9 years ago

All python projects should be formatted according to the PEP8 standard which specifies that indentation should be 4 spaces. This not only helps with readability, but developers familiar with python will already be familiar with PEP8. This issue can be reopened if someone has a good reason why we should not follow PEP8 standard.

edit: link for clarification https://www.python.org/dev/peps/pep-0008/