Skip to main content

the modular source code checker: pep8 pyflakes and co with pyproject.toml support

Project description

build status pre-commit.ci status

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


Download files

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

Source Distribution

flake82-3.9.2.tar.gz (154.6 kB view details)

Uploaded Source

Built Distribution

flake82-3.9.2-py2.py3-none-any.whl (64.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: flake82-3.9.2.tar.gz
  • Upload date:
  • Size: 154.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for flake82-3.9.2.tar.gz
Algorithm Hash digest
SHA256 cb3b46798fcf7bc32f059aa8ff456c9fc1520e82e438cd73d18f7c26abca555d
MD5 86008b5271f303c2f77ee4a6bac51db1
BLAKE2b-256 d5ce5b3965832cdf1bb02d5cf81c6590849e7132aa0212f5e89630e36d865fed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flake82-3.9.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 64.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for flake82-3.9.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 56aea5f27d9c441516807ad1e2b3ce5626c500ecf3a714d81bcd7bd2e8336f74
MD5 2715bf51732398bdc46179e89a86cf59
BLAKE2b-256 9879bd259d2c9851cc2f8f3a7c27eb1dbf47bff980c8cef473c371d5b39bafcf

See more details on using hashes here.

Supported by

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