flake8
Modular Python linter combining PEP 8 style checking, PyFlakes and complexity analysis.
2. Maintained
github.com/pycqa/flake83. Used by agents' projects
Dependency in 44 public GitHub projects set up for AI coding agents that we scanned (0.7%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What flake8 does
Modular Python linter combining PEP 8 style checking, PyFlakes and complexity analysis.
flake8 popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How flake8 is used
- flake8 is a dependency in 44 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.7% of the 1,623 Python ones), #18 of 83 in linting and formatting.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 282; those are left out of every share on this page.
- The most used alternative in our scan is Black (78 projects).
- Projects that use it most often also use Black (97.7%), pytest (93.2%), python-dotenv (70.5%).
By coding agent
Often used with
More about flake8
Funding
- GitHub Sponsors: https://github.com/asottile
- Tidelift: https://tidelift.com/funding/github/pypi/flake8
- 34 GitHub sponsors
Alternatives
flake8 This page
Uncompromising Python code formatter enforcing consistent style automatically.
Extremely fast Python linter and code formatter written in Rust for modern projects.
Python static code analyzer for detecting errors and style issues.
Get started
Install it.
pip install flake8No step-by-step start for flake8 yet: we have not written its hand-checked card.