Skip to main content

the modular source code checker: pep8, pyflakes and co

Project description

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: code-quality@python.org

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.

Maintenance

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flake8-3.0.2.dev1-py2.py3-none-any.whl (63.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file flake8-3.0.2.dev1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for flake8-3.0.2.dev1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 132172aae5083fce189e64f217a459f38579c3eb64b47dbddee0d2964f58d09e
MD5 1a2892db0d4c0dcdf9175b9b168973d0
BLAKE2b-256 4e82738a413c0fa2d903d93fb2633a0d59b1157bd27a1d01041c2c526022e5c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page