--- id: types-pyflakes version: "3.4.0.20260724" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-pyflakes — Typing stubs for pyflakes License: permissive · Maintenance: active · Downloads: 89.1K/mo ## 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 above — 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 pip install types-pyflakes uv add types-pyflakes poetry add types-pyflakes ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 89.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags type stubs pyflakes, pyflakes type hints, mypy pyflakes annotations, pyright type checking pyflakes, typeshed pyflakes stubs, static analysis type checking, type-stubs, static-analysis [View on SkillFed](https://skillfed.io/packages/types-pyflakes) · [View on PyPI](https://pypi.org/project/types-pyflakes/)