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

8d32ac1 · May 16, 2018
May 16, 2018
Oct 25, 2016
Apr 15, 2018
Apr 15, 2018
Jan 1, 2018
Jun 14, 2016
Aug 6, 2016
Aug 6, 2016
Jan 15, 2017
Mar 30, 2014
Aug 26, 2014
Jul 27, 2017
Feb 19, 2016
Dec 31, 2017
May 15, 2017
Dec 21, 2016
Jun 25, 2016
Nov 14, 2016
Aug 11, 2016
Aug 6, 2016
Mar 17, 2016
Sep 18, 2016
Apr 15, 2018
Apr 15, 2018
Apr 15, 2018

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

  • 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