-
-
Notifications
You must be signed in to change notification settings - Fork 398
Coding Conventions
J. David Ibáñez edited this page May 24, 2013
·
5 revisions
Just follow PEP7
We use PEP8 coding conventions (with some exceptions still to be defined).
Tools:
- PyFlakes detects some simple errors.
- pep8 checks for coding style conformance to PEP8.
- Flake8 combines PyFlakes and pep8 into a single tool.
- PyLint finds errors the other tools don't.
- Only commit Unix-style newlines. This means no CRLF in the repository - just set
core.autocrlf
totrue
if you are writing code on a Windows machine.