-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Python Coding Style
David Mansolino edited this page Nov 5, 2018
·
3 revisions
When not specified otherwise by our coding style rules, use the PEP 8 standard.
Note: using Atom with the linter-flake8 linter package ensures that we respect our Python coding styles: apm install linter-flake8
.
Line size is limited to 128 characters (instead of 80 in PEP8). Note: this can be modified in the Atom Settings / Packages / linter-flake8 / Max Line Length.
We don't force PEP257 comments on all functions (especially, simple constructors, getters, setters, etc.) and therefore don't use the flake8-docstrings
Atom package. However, we strongly encourage to respect this rule when it makes sense.