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 Distribution

flake8-3.6.0.tar.gz (144.7 kB view details)

Uploaded Source

Built Distribution

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

flake8-3.6.0-py2.py3-none-any.whl (68.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file flake8-3.6.0.tar.gz.

File metadata

  • Download URL: flake8-3.6.0.tar.gz
  • Upload date:
  • Size: 144.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for flake8-3.6.0.tar.gz
Algorithm Hash digest
SHA256 6a35f5b8761f45c5513e3405f110a86bea57982c3b75b766ce7b65217abe1670
MD5 178485aed0799655d0cbf2e3bdcfaddc
BLAKE2b-256 d027c0d1274b86a8f71ec1a6e4d4c1cfe3b20d6f95b090ec7545320150952c93

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flake8-3.6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 68.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for flake8-3.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c01f8a3963b3571a8e6bd7a4063359aff90749e160778e03817cd9b71c9e07d2
MD5 8d63b7a2c4eb97513980caa3b6d50a69
BLAKE2b-256 34a649e2849a0e5464e1b5d621f63bc8453066f0f367bb3b744a33fca0bc1ddd

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