flake8-deprecated
Warns about deprecated method calls
Decision gist · record as of 2026-08-14
Yes, if you use flake8 and want automated detection of deprecated method calls. The plugin is lightweight, has no complex dependencies, and integrates seamlessly into existing linting workflows. The aging maintenance status is a minor concern but not a blocker—the code is stable and the repository remains active. GPLv2 copyleft licensing requires careful consideration if you distribute proprietary software.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later and flake8 to be installed.
- Low friction: pure Python wheel with only flake8 as a runtime dependency.
- Maintenance is aging (293 days since last release), but the repository remains active and not archived.
License · maintenance · safety
copyleft license (copyleft) — GPLv2 copyleft license. If you distribute software that uses this plugin, you must make source code available under the same license terms.
last release 2025-10-25 (293 days) · last repo commit 2025-10-25 · 21 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 83,862 downloads/mo, #14,045 on PyPI
Alternatives
Verify before relying
pip install flake8-deprecated
from flake8_deprecated import DeprecationChecker
# Integrates automatically with flake8; run flake8 on your code- Which specific deprecated methods are currently detected by this plugin.
- Whether the plugin's deprecation list is user-configurable or fixed.
- Performance impact on large codebases during linting.
- What error codes are emitted for different deprecation categories.
What it is and what it does
flake8-deprecated is a linting plugin that integrates with flake8 to identify deprecated method calls in your Python code. It runs as part of your normal flake8 checks and flags lines where deprecated APIs are used, offering guidance on what to use instead. The plugin helps teams stay aligned with evolving best practices by catching outdated patterns during code review rather than at runtime.
It works by registering as a flake8 extension and checking your code against a built-in list of known deprecations. The plugin requires only flake8 as a dependency and installs as a pure Python wheel, making it lightweight to add to existing linting workflows. It supports Python 3.10 and later, including PyPy3.
Use it for
- Enforce code modernization in CI/CD pipelines by failing builds when deprecated methods are detected.
- Guide developers toward current best practices during code review by highlighting deprecated API usage.
- Maintain compatibility with evolving library versions by catching deprecated calls before they break.
- Audit legacy codebases to identify which deprecated patterns need refactoring.
- Integrate deprecation checking into pre-commit hooks to catch issues before commits.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use flake8 and want automated detection of deprecated method calls.
The plugin is lightweight, has no complex dependencies, and integrates seamlessly into existing linting workflows. The aging maintenance status is a minor concern but not a blocker—the code is stable and the repository remains active. GPLv2 copyleft licensing requires careful consideration if you distribute proprietary software.
Install
flake8-deprecated on PyPI
Before you install
Low friction: pure Python wheel with only flake8 as a runtime dependency. Maintenance is aging (293 days since last release), but the repository remains active and not archived.
Requires Python 3.10 or later and flake8 to be installed.
License in practice
GPLv2 copyleft license. If you distribute software that uses this plugin, you must make source code available under the same license terms.
Quickstart
pip install flake8-deprecated
from flake8_deprecated import DeprecationChecker
# Integrates automatically with flake8; run flake8 on your code
Verify before relying
- Which specific deprecated methods are currently detected by this plugin.
- Whether the plugin's deprecation list is user-configurable or fixed.
- Performance impact on large codebases during linting.
- What error codes are emitted for different deprecation categories.
Package facts
| License | copyleft license copyleft |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageflake8 |
| Maintenance | Aging 293 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 83,862 / month, #14,045 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleFramework :: Flake8Framework :: PloneIntended Audience :: DevelopersLicense :: OSI Approved :: GNU General Public License v2 (GPLv2)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software DevelopmentTopic :: Software Development :: Quality Assurance |
Evidence: flake8_deprecated-2.3.0-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 › “flake8 deprecation checker”
- flake8-deprecatedA flake8 plugin that detects calls to deprecated methods and suggests…
- flake8-pep585A flake8 plugin that detects and flags deprecated type imports from…
- flake8-helperProvides utility functions and base classes to simplify building…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also flake8-pep585 · flake8-pep3101 · flake8-builtins · flake8-isort · flake8-print · flake8-use-pathlib · flake8 · flake8-quotes · flake8-blind-except · flake8-polyfill