flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code. https://flake8.pycqa.org
Find a file
Anthony Sottile a7174759e9 Release 3.9.1
-----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCgAxFiEEzx3RsDHdsD/grSXv6HufUSpyIFEFAmB5CUkTHGFzb3R0aWxl
 QHVtaWNoLmVkdQAKCRDoe59RKnIgUQQuD/9ByVAa8QV9H1P8ExNnOF/D4nq7Xm0j
 NFRduVVHrGxIoMdoWu+4DmAjYABdRv/JPw7LXtUPC2oufG3On/EZWMsXN20rd7NI
 6TfhBLbitwVvHfN4PfQ2II+z3Pom5QKZ8/FTs+ku+SvCBhumgdsJNxw+Ti/+mvU9
 AhhbpRC7XIlYvvNxCs85xjZ8B5ARHoEoFmaaT90q8K8R9V0TjnxcIM5Y8lloAJBR
 qiTt0otmzw4DbeI3jO9KJVm2ojIOHnYpmt4kh/EiZDSYgx9z42AS8jtLWuEb39//
 JpbdJy8/Oviv55jIWyGY9/B+NpGigEpzbf2pSiXdgEpYyacXHewUNcTf9NEvoIfY
 pa0W5OVjN5ClFPCFsToZrhNq8MwUh8TafX7aXBdGoGTaSiP55VQuSwyxmiiyKrQm
 DnUQUzQ+AVL7dobxD72ui3AdvbfDevZcpGAMhdpvohowoWX4SQb1Rd6mG2anFNGl
 QHiPZkI86wDhoFatYUu9CyLvP1dV/bwCjhFll62YWrUQ+cmkgT+2dZHObn8csc5I
 IsEGf023Tc+KL/B9RHGlrYo3JJoNhvs/Jjt7Jnm3aFV+G2pT8nJ9wqxL9Z+uAWqw
 /1oyaOHmdS2RLPdr96S4C+DbP8weRBwUQjdbIHuXnlYHi6LSkFPGeVVU23mjRWyF
 5BaR4uyF9cl2zQ==
 =eMit
 -----END PGP SIGNATURE-----

Merge tag '3.9.1'

Release 3.9.1
2021-04-15 20:55:00 -07:00
.github add issue template 2021-04-04 09:21:16 -07:00
docs Release 3.9.1 2021-04-15 20:55:00 -07:00
example-plugin fix manual gitlab links 2021-04-03 18:21:02 -07:00
src/flake8 Release 3.9.1 2021-04-15 20:55:00 -07:00
tests Fix bug for plugins using extend_default_ignore 2021-04-15 18:42:17 -07:00
.bandit.yml Simplify bandit config and allow assert 2019-09-07 23:42:33 -07:00
.coveragerc clean up TYPE_CHECKING imports 2021-03-30 17:37:13 -07:00
.gitignore ignore .coverage files in --parallel-mode 2019-05-01 17:08:10 +01:00
.hgignore Ignore ./.tox directory 2014-03-30 23:54:36 +02:00
.hgtags Release v2.2.3 2014-08-25 19:03:13 -05:00
.mailmap Update name across the project post-marriage 2017-07-27 18:47:38 -05:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 2021-04-12 17:24:08 +00:00
.pre-commit-hooks.yaml Turn off pre-commit's automated multiprocessing 2019-01-27 17:26:45 -08:00
.pylintrc move from optparse to argparse 2019-08-17 20:09:45 -07:00
codecov.yml Add whitespace fixers 2019-09-07 23:49:47 -07:00
CONTRIBUTING.rst Add CONTRIBUTING.rst file refering to webpage. 2017-05-15 11:09:07 +01:00
CONTRIBUTORS.txt Tidy up last few bits for performance improvement 2016-12-20 18:29:10 -06:00
dev-requirements.txt drop python3.4 2020-10-02 16:47:00 -07:00
LICENSE Update the copyright in the LICENSE 2016-06-25 10:49:32 -05:00
MANIFEST.in Revert "Update release machinery to include manpages" 2016-11-14 09:49:03 -06:00
pytest.ini some manual python2 metadata cleanup 2021-03-30 17:37:12 -07:00
README.rst Merge pull request #1305 from asottile/replace_gitlab_urls 2021-04-03 18:23:42 -07:00
setup.cfg fix manual gitlab links 2021-04-03 18:21:02 -07:00
setup.py automatic: pyupgrade --py36-plus 2021-03-30 17:37:13 -07:00
tox.ini automatic: pyupgrade --py36-plus 2021-03-30 17:37:13 -07:00

.. image:: https://github.com/PyCQA/flake8/workflows/main/badge.svg
   :target: https://github.com/PyCQA/flake8/actions?query=workflow%3Amain
   :alt: build status

.. image:: https://results.pre-commit.ci/badge/github/PyCQA/flake8/master.svg
   :target: https://results.pre-commit.ci/latest/github/PyCQA/flake8/master
   :alt: 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
<http://flake8.pycqa.org/en/latest/index.html#quickstart>`_ for how to install
and get started with Flake8.


Frequently Asked Questions
==========================

Flake8 maintains an `FAQ <http://flake8.pycqa.org/en/latest/faq.html>`_ 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.


Links
=====

* `Flake8 Documentation <http://flake8.pycqa.org/en/latest/>`_

* `GitHub Project <https://github.com/pycqa/flake8>`_

* `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
  <http://flake8.pycqa.org/en/latest/internal/contributing.html#code-of-conduct>`_

* `Getting Started Contributing
  <http://flake8.pycqa.org/en/latest/internal/contributing.html>`_


Maintenance
===========

Flake8 was created by Tarek Ziadé and is currently maintained by `Ian Cordasco
<http://www.coglib.com/~icordasc/>`_