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. 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: 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

This version

3.9.2

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.9.2.tar.gz (164.8 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.9.2-py2.py3-none-any.whl (73.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: flake8-3.9.2.tar.gz
  • Upload date:
  • Size: 164.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

File hashes

Hashes for flake8-3.9.2.tar.gz
Algorithm Hash digest
SHA256 07528381786f2a6237b061f6e96610a4167b226cb926e2aa2b6b1d78057c576b
MD5 5c102972d3d0f35255c56a20613fcec5
BLAKE2b-256 9e4715b267dfe7e03dca4c4c06e7eadbd55ef4dfd368b13a0bab36d708b14366

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flake8-3.9.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 73.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

File hashes

Hashes for flake8-3.9.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bf8fd333346d844f616e8d47905ef3a3384edae6b4e9beb0c5101e25e3110907
MD5 dde750b547313166c3134e0ab6fae5fc
BLAKE2b-256 fc8035a0716e5d5101e643404dabd20f07f5528a21f3ef4032d31a49c913237b

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