Flake8
Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.
What Flake8 is
Flake8 is a Python code checker that wraps PyFlakes, pycodestyle and Ned Batchelder's McCabe script. One flake8 command runs all three tools and merges their warnings into per-file output. A # flake8: noqa line makes it skip a whole file. A # noqa comment at the end of a line suppresses warnings for that line, optionally limited to listed error codes. The project also provides Git and Mercurial hooks. Plugins extend it through the flake8.extension and flake8.formatting entry points.
Written from the project's README, read , and its documentation (see sources).
- Category
- Code quality and static analysis
- License
- MIT
- Language
- Python
- Changelog
- Releases on GitHub
Repository metrics
Status
activeLast commit within 90 days of the fetch date.Computed from the last commit date and the archive flag on the fetch date. See the status rules.
Alternatives
Listed code quality and static analysis tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from Flake8's, with its source.
mypy: Languages or files analysed: Python programs with type hints. source: README
Bandit: Languages or files analysed: Python files, parsed into an abstract syntax tree (AST). source: README
Pylint: Languages or files analysed: Python code (latest version supports Python 3.10.0 and above). source: README
mutmut: Languages or files analysed: Python code. source: README
Ruff: Languages or files analysed: Python files (*.py, *.pyi), Jupyter Notebooks (*.ipynb) and pyproject.toml. source: Docs: Configuring Ruff
ShellCheck: Languages or files analysed: Shell scripts in the sh, bash, dash, ksh and BusyBox dialects. source: Docs: shellcheck(1) manual
ESLint: Languages or files analysed: ECMAScript/JavaScript code; JSX parsing when enabled. source: README
golangci-lint: Languages or files analysed: Go code. source: README
Questions
Is Flake8 open source?
Yes. Flake8 is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.
Is Flake8 maintained?
On 2026-09-22, the last commit to the default branch was on 2026-08-17, so the listed status is active. Rule: Last commit within 90 days of the fetch date.
How many GitHub stars does Flake8 have?
3,823 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.
What language is Flake8 written in?
The repository's primary language, as reported by the GitHub API, is Python.
Sources
- GitHub REST API: repository, read
- GitHub REST API: commits, read
- GitHub REST API: tags, read
- GitHub REST API: contributors, read
- LICENSE file, read
- README, read