--- id: flake8 version: "7.3.0" license: MIT license_treatment: permissive maintenance: active --- # flake8 — the modular source code checker: pep8 pyflakes and co License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install flake8 uv add flake8 poetry add flake8 ## Description .. 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: ``, 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... ## AI interpretation — verify before relying Flake8 is a Python code linter that combines PyFlakes, pycodestyle, and McCabe complexity checking into a single command-line tool, displaying style violations and potential errors in a unified output. Verdict: Flake8 is a stable, widely-adopted linting tool with active maintenance, no known vulnerabilities, permissive licensing, and minimal dependencies. It integrates seamlessly into development workflows and CI/CD pipelines with low friction. [View on SkillFed](https://skillfed.io/packages/flake8) · [View on PyPI](https://pypi.org/project/flake8/)