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

This version

3.0.4

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.0.4.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

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

flake8-3.0.4-py2.py3-none-any.whl (64.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: flake8-3.0.4.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flake8-3.0.4.tar.gz
Algorithm Hash digest
SHA256 b4c210c998f07d6ff24325dd91fbc011f2c37bcd6bf576b188de01d8656e970d
MD5 2b48e5ef1d21c687f10a66d44f1dda5c
BLAKE2b-256 b05648727b2a6c92b7e632180cf2c1411a0de7cf4f636b4f844c6c46f7edc86b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flake8-3.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 603a3ae7c8030219fee084728ca02a8bbd3a51829cacf97b445172a46cb04662
MD5 75cda5a9c8e2af21135140297e37a1ff
BLAKE2b-256 70fd93266c6af1a23ea4d8b9a557b1fa02e6bdb43702b817c9151da5a3af3aa7

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