Skip to main content
build status pre-commit.ci status Discord

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 anthony sottile and Ian Cordasco

Metadata

Release files for flake8 7.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flake8 7.5.0
File Size Uploaded Provenance
flake8-7.5.0.tar.gz 47.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for flake8 7.5.0
File Interpreter ABI Platform
flake8-7.5.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 105.3 kB

Release files / flake8-7.5.0.tar.gz

Download URL flake8-7.5.0.tar.gz
Size 47.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0dab7566341aca0d80aa29b5812bdadf256caa6a63e6068e49ac2649918236a4
BLAKE2b-256 checksum
How to use checksums
9adab0d00f8c4c676212284edd3cc3d371588ce0e36a349373c3a01e188b5639
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / flake8-7.5.0-py2.py3-none-any.whl

Download URL flake8-7.5.0-py2.py3-none-any.whl
Size 57.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
637ea1a443a78ed6ee461725cdf71ca93bc5cde0abf25436dbebdc3880b4e078
BLAKE2b-256 checksum
How to use checksums
5d57a3adc5f380f50ef3d01014cb9d3b8c17b25de9b89def20d559def4fc3c4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for flake8 7.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

7.5.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page