Skip to main content

Linters

flake8

Run this command to run flake8:

flake8

The config for flake8 is located in setup.cfg.

pylint

Run this command to run pylint:

pylint <python files that you wish to lint>

The config for pylint is located in .pylintrc.

pycodestyle

This is included in flake8’s checks, but you can also run it separately to see a more detailed report:

pycodestyle <python files that you wish to lint>

The config for pycodestyle is located in setup.cfg.