Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Flake8

flake8.pycqa.org

  • Free plan
  • Open source
  • Windows
  • macOS
  • Linux
  • API
  • Self-hosted
7.9 Club score Visit flake8.pycqa.org

Flake8

Free

Free plan

What the maker publishes

Built-in checks
Flake8 installs pycodestyle, pyflakes, and mccabe by default. source
Complexity analysis
McCabe checks are enabled through the C90 family and require the max-complexity option to report complexity violations. source
Configurable checks
Users can select or ignore error codes and configure per-file ignores. source
Configuration
Project configuration can be stored in setup.cfg, tox.ini, or .flake8 using INI format. source
Configuration files
The documented project configuration locations are setup.cfg, tox.ini and .flake8, using an INI [flake8] section. source
Configuration precedence
Command-line options override project configuration, which overrides defaults. source
Core checks
The default violation groups cover McCabe complexity (C90), pycodestyle errors (E), pyflakes errors (F) and pycodestyle warnings (W). source
Extensibility
Flake8 supports community plugins, most of which are uploaded to PyPI, and provides guidance for plugin developers. source
File suppression
Entire files can be skipped with an exclude configuration or a # flake8: noqa header. source
GitHub activity
The public repository showed about 3.8k stars, 362 forks and 2,544 commits when opened. source
Homebrew distribution
Homebrew offers flake8 through brew install flake8, lists MIT licensing and version 7.4.1, and depends on [email protected]. source
How it runs
Flake8 runs from the command line and displays warnings in merged per-file output. source
Inline suppression
A line can suppress selected diagnostics with a case-insensitive # noqa comment and one or more error codes. source
Installation
The quickstart instructs users to install Flake8 with pip for the Python version they intend to use. source
Installation
The official quickstart installs Flake8 with python -m pip install flake8 and recommends invoking the interpreter-specific module when multiple Python versions are installed. source
Interpreter coupling
The documentation says Flake8 must run under the Python version whose syntax it needs to parse, so installing it for one interpreter does not install it for another. source
Latest release
PyPI lists version 7.4.1 uploaded on September 23, 2026. source
Licence
PyPI identifies Flake8 as MIT licensed. source
Limit: analysis scope
A Reddit comparison noted that Flake8's ecosystem cannot perform some cross-file and type-inference checks, such as detecting a function called with the wrong number of arguments. source
Limit: configuration format
Reddit commenters criticized Flake8 for not supporting pyproject.toml configuration and described its issue discussions as difficult to navigate. source
Limit: no automatic fixes
A Stack Overflow answer by Flake8 maintainer Anthony Sottile states that Flake8 only checks code and users need a formatter such as Black or autopep8 to modify it. source
Limit: speed
A Princeton software-quality handout measured Flake8 at 12.26 seconds in its comparison, much slower than Ruff's 0.29 seconds. source
Local plugins
Users can configure local check and reporting plugins in a separate flake8:local-plugins INI section. source
Local plugins
Projects can define local extension and reporter plugins in a flake8:local-plugins section and optionally add import paths. source

Checked against the maker's pages on 15 Oct 2026.