flake8
v7.5.0the modular source code checker: pep8 pyflakes and co
$ uv add flake8========
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
# noqacomment 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.extensionandflake8.formattingentry
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: [email protected]
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.
Links
- `All (Open and Closed) Issues
<https://github.com/pycqa/flake8/issues?q=is%3Aissue>`_
- `Code-Quality Archives
<https://mail.python.org/mailman/listinfo/code-quality>`_
- `Code of Conduct
<https://flake8.pycqa.org/en/latest/internal/contributing.html#code-of-conduct>`_
- `Getting Started Contributing
<https://flake8.pycqa.org/en/latest/internal/contributing.html>`_
Maintenance
Flake8 was created by Tarek Ziadé and is currently maintained by anthony sottile and Ian Cordasco
Details
- Version
- 7.5.0
- License
- MIT
- Python
- >=3.11
- Maintainer
- Tarek Ziade
Links
Release Cadence
Maintainers
- Tarek Ziade · [email protected]