Flake8
Table of Contents
Configure Flake8 howto
$ flake8 --ignore D203 \
--exclude .git,__pycache__,docs/source/conf.py,old,build,dist \
--max-complexity 10You can configure default flake8 options on a dedicated section in setup.cfg or tox.ini.
[flake8]
ignore = D203
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist
max-complexity = 10
List of flake8 options reference
flake8 --versionflake8 --helpflake8 --verboseflake8 --quietflake8 --countflake8 --diffflake8 --excludeflake8 --filenameflake8 --stdin-display-nameflake8 --formatflake8 --hang-closingflake8 --ignoreflake8 --extend-ignoreflake8 --max-line-lengthflake8 --selectflake8 --disable-noqaflake8 --show-sourceflake8 --statisticsflake8 --enable-extensionsflake8 --exit-zeroflake8 --install-hookflake8 --jobsflake8 --output-fileflake8 --teeflake8 --append-configflake8 --configflake8 --isolatedflake8 --builtinsflake8 --doctestsflake8 --include-in-doctestflake8 --exclude-from-doctestflake8 --benchmarkflake8 --bug-reportflake8 --max-complexity