This document is a work in progress and might be incomplete.
- Use spaces, not tabs.
- Avoid adding trailing whitespace as it creates noise in the diffs.
- Comments should not exceed 120 columns, code may exceed this limit a bit in rare occasions if it results in clearer code.
- All code must be compatible with Python 2.7, 3.5, and 3.6.
- Pylint should not give any error or warning (few exceptions
apply with external classes like
numpy, see our
- Python code follows PEP8 style guide (use