Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP8 styling #19

Open
stefanv opened this issue Apr 8, 2016 · 1 comment
Open

PEP8 styling #19

stefanv opened this issue Apr 8, 2016 · 1 comment

Comments

@stefanv
Copy link
Contributor

stefanv commented Apr 8, 2016

Python code should conform to the PEP8 standard:

https://www.python.org/dev/peps/pep-0008/

E.g., variable_names should be separated by underscores, so should module_name.py, but ClassNames are CamelCaps.

Always spaces, never TAB characters.

There should be spaces between operators, i.e. a + (b * c) not a+(b*c).

@stefanv
Copy link
Contributor Author

stefanv commented Apr 8, 2016

A good checker for this is Flake8 (which can easily be hooked into most editors)--ask me if you need a hand!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant