Minimum Version: 3.6

For Python, we use flake8 to check Python code such that it follows things laid out in PEP-8, PEP-257, etc. The code is linted as part of our automated Travis-CI testsuite to ensure compliance. To locally lint the code, you will need to install three modules:

pip3 install flake8 flake8-bugbear flake8-docstrings

and then you can just run flake8 at the root to check all files or pass it an individual file to check just that. To see all files that are currently checked as part of Travis-CI, please look at the .flake8 config file.