skillfed

types-pyflakes

Typing stubs for pyflakes

types-pyflakes v3.4.0.20260724 89.1K downloads/30d#13,678 on PyPI37
Permissive license Apache-2.0 Active released

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-pyflakes

uv

uv add types-pyflakes

poetry

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 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

Programming Language :: Python :: 3Typing :: Stubs Only

Tags

type stubs pyflakespyflakes type hintsmypy pyflakes annotationspyright type checking pyflakestypeshed pyflakes stubsstatic analysis type checking
type-stubsstatic-analysis

More Quality Assurance packages