Skip to main content

Flake9

Flake9 is a fork of Flake8 that supports reading configuration from a pyproject.toml file, because the authors of Flake8 won’t implement it.

In addition, because it’s 2020, Python 2.7 support has been dropped.

Here’s an example of the pyproject.toml file:

[tool.flake8]
ignore = "E203,E266,H106,H904"
max-line-length = 88
max-complexity = 25
hang-closing = true

Original Flake8 README

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

Metadata

Release files for flake9 3.8.3.post2

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

Source distribution (sdist)

Source distribution for flake9 3.8.3.post2
File Size Uploaded Provenance
flake9-3.8.3.post2.tar.gz 164.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for flake9 3.8.3.post2
File Interpreter ABI Platform
flake9-3.8.3.post2-py3-none-any.whl Python 3 none any Details

Total release size: 238.1 kB

Release files / flake9-3.8.3.post2.tar.gz

Download URL flake9-3.8.3.post2.tar.gz
Size 164.3 kB
Tags Source
SHA-256 checksum
How to use checksums
daefdbfb3d320eb215a4a52c62a4b4a027cbe11d39f5dab30df908b40fce5ba7
BLAKE2b-256 checksum
How to use checksums
d7e831dea67ef26b11551fa9d33733d14432e48bdca655404076cdc74941265c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release files / flake9-3.8.3.post2-py3-none-any.whl

Download URL flake9-3.8.3.post2-py3-none-any.whl
Size 73.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47dced969a802a8892740bcaa35ae07232709b2ade803c45f48dd03ccb7f825f
BLAKE2b-256 checksum
How to use checksums
3c4e230bc6b366dd2217e0b7681b5ace14a3fb4aec12bedb5666f33e19375cc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Security for flake9 3.8.3.post2

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.

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