# Flake8

> A Python linter that checks style and common errors by combining pycodestyle, pyflakes and McCabe

Source: https://talira.ai/catalog/flake8-5xc1rb83
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [developer tools / linting](https://talira.ai/categories/developer-tools/linting), [languages / python](https://talira.ai/categories/languages/python)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [PyCQA](https://talira.ai/orgs/pycqa.md)
- Extends: [VS Code](https://talira.ai/ecosystems/vscode.md#ext-7qma1xxv)

Flake8 is an open source Python linter from the PyCQA that wraps pyflakes (logical errors such as unused imports and undefined names), pycodestyle (PEP 8 style) and the McCabe complexity checker behind one command and one configuration, with a plugin system that many third-party checks build on. Microsoft's Flake8 extension runs it inside VS Code.

## Links

- Website: https://flake8.pycqa.org/
- GitHub: https://github.com/PyCQA/flake8
- Docs: https://flake8.pycqa.org/en/latest/

## Problems it solves

- check my Python code for PEP 8 style problems and unused imports in CI
- catch undefined names and other simple errors in Python before running it
- enforce one Python style across the team with a lint step

## Features

- pyflakes, pycodestyle and McCabe checks in one tool
- Plugin system for extra checks
- Per-file and per-line ignores
- VS Code extension

## Trust

Overall: 0.60 out of 1.
Signals: maintenance 0.80, adoption 0.72, momentum 0.43, community 0.90, backing 0.30, extensibility 0.00.

- last commit 25 days ago
- 30 commits in the last 90 days
- 3.8k GitHub stars
- 178 contributors
- accepts sponsorship (Github, Tidelift)
- backed by PyCQA

## Alternatives

- [Pylint](https://talira.ai/catalog/pylint-dr2yye6e.md): A thorough static code analyser for Python that infers values instead of trusting type hints
- [Ruff](https://talira.ai/catalog/ruff-t1e35scd.md): An extremely fast Python linter and code formatter, written in Rust
- [Credo](https://talira.ai/catalog/credo-163rrxe7.md): Static code analysis for Elixir, with a focus on teaching and code consistency
- [ansible-lint](https://talira.ai/catalog/ansible-lint-r3bpcyc4.md): Checks playbooks for practices and behavior that could potentially be improved

## Sources

[^1]: https://github.com/PyCQA/flake8 (checked 24 Nov 2026)
[^2]: https://github.com/PyCQA/flake8/blob/main/LICENSE (checked 24 Nov 2026)
