Flake8

Table of Contents

Configure Flake8 howto

$ flake8 --ignore D203 \
         --exclude .git,__pycache__,docs/source/conf.py,old,build,dist \
         --max-complexity 10

You can configure default flake8 options on a dedicated section in setup.cfg or tox.ini.

setup.cfg
[flake8]
ignore = D203
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist
max-complexity = 10

List of flake8 options reference