flake8-blind-except
A flake8 extension that checks for blind except: statements
Decision gist · record as of 2026-08-14
Yes, if your environment is confirmed compatible with the last tested versions (flake8 3.7.9, Python 3.7.5). The plugin solves a real code-quality problem and has no security vulnerabilities. However, do not install if you require active maintenance or compatibility with very recent Python versions—test thoroughly first, since the package is abandoned and will not receive updates.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Compatibility with Python versions and tool versions beyond those tested (flake8 3.7.9, Python 3.7.5) is not guaranteed.
- High install friction: the package is abandoned (last commit 2023-01-18, no updates since 2022-03-18) and the maintainer explicitly notes they are not working on Python updates.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and poses no restrictions on use or redistribution.
last release 2022-03-18 (1610 days) · last repo commit 2023-01-18 · 32 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 132,115 downloads/mo, #11,564 on PyPI
Alternatives
Verify before relying
pip install flake8-blind-except
flake8 --version
flake8 your_code.py- Whether the plugin remains compatible with current Python and flake8 versions beyond the tested versions (flake8 3.7.9 + Python 3.7.5).
- Whether B902 detection for blind Exception catches is still needed given modern linting tool evolution since the last update.
- Current compatibility status with flake8 versions released after 2022-03-18.
What it is and what it does
flake8-blind-except is a linter plugin that enforces more specific exception handling in Python code. It flags two patterns: bare except: statements (B901) and catch-all except Exception: blocks (B902), both of which hide the true intent of error handling and can inadvertently catch system signals. The plugin integrates directly into the linting workflow once installed.
The package is unmaintained as of its latest release in 2022-03-18, with the author explicitly stating they are no longer active in Python development. While it has modest popularity, the lack of recent updates means compatibility with newer Python or linting tool versions is uncertain. The core functionality—flagging overly broad exception handlers—remains sound for codebases that can verify compatibility with their environment.
Use it for
- Enforce exception specificity in code review by catching bare except: and except Exception: patterns during linting.
- Improve code quality in legacy Python projects by identifying and refactoring catch-all exception handlers into specific exception types.
- Educate team members on exception handling best practices by making blind exception catches visible during development.
- Complement built-in linting checks by also catching broad Exception handlers beyond bare except: patterns.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if your environment is confirmed compatible with the last tested versions (flake8 3.7.9, Python 3.7.5).
The plugin solves a real code-quality problem and has no security vulnerabilities. However, do not install if you require active maintenance or compatibility with very recent Python versions—test thoroughly first, since the package is abandoned and will not receive updates.
Install
flake8-blind-except on PyPI
Before you install
High install friction: the package is abandoned (last commit 2023-01-18, no updates since 2022-03-18) and the maintainer explicitly notes they are not working on Python updates.
Compatibility with Python versions and tool versions beyond those tested (flake8 3.7.9, Python 3.7.5) is not guaranteed.
License in practice
MIT license is permissive and poses no restrictions on use or redistribution.
Quickstart
pip install flake8-blind-except
flake8 --version
flake8 your_code.py
Verify before relying
- Whether the plugin remains compatible with current Python and flake8 versions beyond the tested versions (flake8 3.7.9 + Python 3.7.5).
- Whether B902 detection for blind Exception catches is still needed given modern linting tool evolution since the last update.
- Current compatibility status with flake8 versions released after 2022-03-18.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,610 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 132,115 / month, #11,564 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: flake8-blind-except-0.2.1.tar.gz
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 › “exception handling lint”
- flake8-blind-exceptA flake8 plugin that detects overly broad exception handlers—bare…
- flake8-pieA flake8 plugin that detects code quality issues including…
- zope.exceptionsProvides general-purpose exception classes and formatting utilities…
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 flake8 · flake8-tuple · flake8-bugbear · flake8-print · flake8-black · flake8-deprecated · flake8-pie · pep8-naming · pytest-flake8 · flake8-copyright