Python flake8
From wikinotes
Flake8 seems to be the normal solution used. It enforces the pep8 style on your project.
Config
Add a
setup.cfg
to the root of your project.[flake8] max_line_length = 120 # adjust max-line length ignore = E2,E742 # ignore certain errors exclude = site-packages/*,external/* # ignore directories
Usage
flake8 . # list all files and violations flake8 -q . # list filenames containing violations