{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/3"}],"enrichment":{"capability":"A flake8 plugin that detects overly broad exception handlers\u2014bare except: statements and catch-all except Exception: blocks\u2014flagging them as B901 and B902 respectively.","skillfed_tags":["linting","exception-handling"],"use_cases":["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."],"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.\n\nThe 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\u2014flagging overly broad exception handlers\u2014remains sound for codebases that can verify compatibility with their environment.","worth_installing":"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\u2014test thoroughly first, since the package is abandoned and will not receive updates."},"id":"flake8-blind-except","links":{"html":"https://skillfed.io/packages/flake8-blind-except","md":"https://skillfed.io/packages/flake8-blind-except.md","pypi":"https://pypi.org/project/flake8-blind-except/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-03-18","license_spdx":null,"license_treatment":"permissive","name":"flake8-blind-except","python_support":"unspecified","summary":"A flake8 extension that checks for blind except: statements"},"popularity":{"monthly_downloads":132115,"position":11564,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.1"}
