RepositoryPython
PyCQA

PyCQA/flake8

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.

3.8ksao
449fork
24issue
2lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: stylelint

#1 Repository của ngày

1
TINIX TRENDING·Chủ đề: linter

#1 Repository của ngày

1
TINIX TRENDING·Chủ đề: static-analysis

#1 Repository của ngày

.. 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/main.svg :target: https://results.pre-commit.ci/latest/github/PyCQA/flake8/main :alt: pre-commit.ci status

.. image:: https://img.shields.io/discord/825463413634891776.svg :target: https://discord.gg/qYxpadCgkx :alt: 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 <https://flake8.pycqa.org/en/latest/index.html#quickstart>_ for how to install and get started with Flake8.

Frequently Asked Questions

Flake8 maintains an FAQ <https://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 <https://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 <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 <https://github.com/sponsors/asottile>_ and Ian Cordasco <https://www.coglib.com/~icordasc/>_

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryRust
astral-sh/ruff

An extremely fast Python linter and code formatter, written in Rust.

51.6k
Nov 30, 2026
RepositoryJavaScript
airbnb/javascript

JavaScript Style Guide

148.0k
Apr 16, 2026
RepositoryPython
pylint-dev/pylint

It's not just a linter that annoys you!

5.7k
Nov 29, 2026
RepositoryPython
PyCQA/pycodestyle

Simple Python style checker in one Python file

5.2k
Nov 4, 2026
RepositoryJavaScript
standard/standard

🌟 JavaScript Style Guide, with linter & automatic code fixer

29.4k
Jul 11, 2025
RepositoryRust
analysis-tools-dev/static-analysis

⚙️ A curated list of static analysis (SAST) tools and linters for all programming languages, config files, build tools, and more. The focus is on tools which improve code quality.

14.9k
Nov 30, 2026
RepositoryGo
revive-lint/revive

🔥 Fast, strict, configurable, extensible, and beautiful linter for Go

5.6k
Nov 13, 2026
RepositoryJava
pmd/pmd

An extensible multilanguage static code analyzer.

5.5k
Dec 1, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026