types-pyflakes
Typing stubs for pyflakes
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- 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 · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.
last release 2026-07-24 (21 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 89,138 downloads/mo, #13,678 on PyPI
Alternatives
Verify before relying
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- 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.
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 on it.
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
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.
Requires Python 3.10 or later.
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
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 |
| Classifiers | Programming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_pyflakes-3.4.0.20260724-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “type stubs pyflakes”
- types-pyflakesProvides type stubs for the pyflakes static analysis tool, enabling…
- flake8-pyiA Flake8 plugin that lints Python type stub files (.pyi) with…
- pyflakesPyflakes checks Python source files for logical errors by parsing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also types-mypy-extensions · types-psycopg2 · types-pytz · types-pywin32 · types-PyYAML · types-unidiff · types-boltons · flake8-pyi · types-six · types-pyasn1