You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Anthony Sottile b9a7794c4f Release 6.0.0 3 days ago
.github require python 3.8.1+ 1 week ago
bin require python>=3.7 4 months ago
docs Release 6.0.0 3 days ago
example-plugin require python>=3.7 4 months ago
src/flake8 Release 6.0.0 3 days ago
tests upgrade pyflakes to 3.0.0 3 days ago
.bandit.yml Simplify bandit config and allow `assert` 3 years ago
.coveragerc require coverage 6.x and simplify config 1 year ago
.gitignore ignore .coverage files in --parallel-mode 4 years ago
.mailmap Update name across the project post-marriage 5 years ago
.pre-commit-config.yaml [] pre-commit autoupdate 5 days ago
.pre-commit-hooks.yaml Turn off pre-commit's automated multiprocessing 4 years ago
.pylintrc move from optparse to argparse 3 years ago
CONTRIBUTING.rst where possible http->https and fix links 10 months ago
CONTRIBUTORS.txt Tidy up last few bits for performance improvement 6 years ago
LICENSE Update the copyright in the LICENSE 7 years ago Revert "Update release machinery to include manpages" 6 years ago
README.rst Add Discord invite badge to README.rst 5 months ago
dev-requirements.txt drop python3.4 2 years ago
pytest.ini rework plugin loading 11 months ago
setup.cfg upgrade pyflakes to 3.0.0 3 days ago require python>=3.7 4 months ago
tox.ini require python 3.8.1+ 1 week ago


build status status



Flake8 is a wrapper around these tools:

  • PyFlakes
  • pycodestyle
  • Ned Batchelder's McCabe script

Flake8 runs all the tools by launching the single flake8 command. It displays the warnings in a per-file, merged output.

It also adds a few features:

  • files that contain this line are skipped:

    # flake8: noqa
  • lines that contain a # noqa comment at the end will not issue warnings.

  • you can ignore specific errors on a line with # noqa: <error>, e.g., # noqa: E234. Multiple codes can be given, separated by comma. The noqa token is case insensitive, the colon before the list of codes is required otherwise the part after noqa is ignored

  • Git and Mercurial hooks

  • extendable through flake8.extension and flake8.formatting entry points


See our quickstart documentation for how to install and get started with Flake8.

Frequently Asked Questions

Flake8 maintains an FAQ in its documentation.

Questions or Feedback

If you have questions you'd like to ask the developers, or feedback you'd like to provide, feel free to use the mailing list:

We would love to hear from you. Additionally, if you have a feature you'd like to suggest, the mailing list would be the best place for it.


Flake8 was created by Tarek Ziadé and is currently maintained by Ian Cordasco