Skip to content

flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.

License

Notifications You must be signed in to change notification settings

PyCQA/flake8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8385687 · Mar 31, 2021
Mar 31, 2021
Mar 31, 2021
Mar 31, 2021
Mar 31, 2021
Mar 31, 2021
Sep 8, 2019
Mar 23, 2020
May 1, 2019
Mar 31, 2021
Mar 30, 2014
Aug 26, 2014
Jul 27, 2017
Mar 31, 2021
Jan 28, 2019
Aug 18, 2019
Mar 31, 2021
May 15, 2017
Dec 21, 2016
Jun 25, 2016
Nov 14, 2016
Oct 28, 2018
Sep 8, 2019
Oct 2, 2020
Mar 31, 2021
Mar 31, 2021
Mar 31, 2021
Mar 31, 2021

Repository files navigation

Flake8

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

Quickstart

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: [email protected]

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.

Links

Maintenance

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