types-pyflakes
Typing stubs for pyflakes
What it is and what it does
types-pyflakes is a type stub package from the typeshed project that provides type annotations for the pyflakes static analysis library. It allows type checkers like mypy (2.3.0) and pyright (1.1.411) to understand the types and signatures in pyflakes, enabling you to write type-safe code that uses pyflakes and catch type errors during development.
This is a stub-only package with no runtime dependencies, designed purely to bridge the gap between pyflakes (which may not have inline type annotations) and your type checker. It targets pyflakes version 3.4.* and is maintained as part of the broader typeshed effort to provide comprehensive type coverage for the Python ecosystem.
Use it for:
- Enable type checking in projects that programmatically use pyflakes for linting or code analysis.
- Catch type errors when calling pyflakes APIs in your own static analysis tools.
- Integrate pyflakes into a type-safe CI/CD pipeline with mypy or pyright validation.
- Develop custom linting tools on top of pyflakes with full IDE type hints and autocomplete.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs for the pyflakes static analysis tool, enabling type checkers like mypy and pyright to understand and validate code that uses pyflakes.
Yes, if you use pyflakes programmatically in code that you type-check. Install it alongside pyflakes to get type safety and IDE support. No benefit if you only run pyflakes as a command-line tool without importing it in your own code.
Install
types-pyflakes on PyPI
pip
pip install types-pyflakesuv
uv add types-pyflakespoetry
poetry add types-pyflakesInstalling types-pyflakes
Before you install
Low friction installation with no runtime dependencies. Actively maintained as part of the typeshed project, with a recent release (21 days old) and current commit activity.
License in practice
Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install types-pyflakes
# Then use with your type checker (mypy or pyright)
# in your code that imports pyflakes, type checkers will now understand the types
Requires Python 3.10 or later.
Verify before relying
- Whether this stub package is automatically discovered by type checkers or requires explicit configuration.
- Compatibility with pyflakes versions outside the 3.4.* series.
- Whether the stubs cover the entire pyflakes public API or only a subset.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 21 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 89,138/month — #13,678 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_pyflakes-3.4.0.20260724-py3-none-any.whl
Tags
More Quality Assurance packages
Coverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
ruffRuff is a Python linter and code formatter…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
blackBlack reformats Python source code to a…
permissive · top 1,000 on PyPI
pytest-xdistpytest-xdist distributes pytest tests across…
permissive · top 1,000 on PyPI
cfn-lintValidates AWS CloudFormation templates in YAML…
permissive · top 1,000 on PyPI
types-mypy-extensionsProvides type stubs for mypy-extensions,…
permissive · top 15,000 on PyPI
types-psycopg2Provides type hints for psycopg2, enabling…
permissive · top 5,000 on PyPI
types-pytzProvides type stubs for the pytz timezone…
permissive · top 1,000 on PyPI
types-pywin32Provides type stubs for pywin32, enabling type…
permissive · top 15,000 on PyPI
types-PyYAMLProvides type stubs for PyYAML to enable static…
permissive · top 1,000 on PyPI
types-unidiffProvides type stubs for the unidiff package,…
permissive · top 15,000 on PyPI
types-boltonsProvides type stubs for the boltons library,…
permissive · top 15,000 on PyPI
flake8-pyiA Flake8 plugin that lints Python type stub…
permissive · top 5,000 on PyPI
types-sixProvides type hints for the six Python 2/3…
permissive · top 5,000 on PyPI
types-pyasn1Provides type stubs for the pyasn1 package,…
permissive · top 5,000 on PyPI