{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/4"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance"}],"enrichment":{"capability":"A flake8 plugin that detects likely bugs and design problems in Python code through opinionated linting rules not covered by pyflakes or pycodestyle.","skillfed_tags":["linting","static-analysis","code-quality"],"use_cases":["Catch bare except clauses and other exception-handling mistakes that can mask serious bugs.","Detect mutable default arguments and function calls in defaults that cause subtle state-sharing bugs.","Flag redundant exception types in except blocks and other code patterns that waste CPU or cause confusion.","Identify loop control variables that override iterables or are unused, catching common loop mistakes.","Enforce better practices in abstract base classes and context managers.","Integrate into CI/CD pipelines to enforce consistent code quality standards across a team."],"what_it_does":"flake8-bugbear is a flake8 plugin that extends Python linting with opinionated checks for bugs and design antipatterns. It fills a gap between the core linters (pyflakes and pycodestyle) and more comprehensive tools by focusing on patterns that are genuinely problematic but too specific or debatable for the main Python tooling. The plugin runs automatically once installed and integrated with flake8, adding warnings like B001 (bare except clauses), B006 (mutable default arguments), B008 (function calls in defaults), and many others that catch real mistakes developers commonly make.\n\nThe package depends on flake8 and attrs, both widely used and stable. It supports current Python versions (3.10 through 3.14) and has been actively maintained since 2016. With no known security vulnerabilities and a permissive MIT license, it is designed to be deployed flexibly across different projects and environments. The plugin's opinionated nature is intentional\u2014rules live here precisely because they do not belong in standardized tools, giving teams the choice to adopt them or not.","worth_installing":"Yes. flake8-bugbear is worth installing if you use flake8 and want to catch real bugs and design problems that the standard linters miss. It has low install friction, active maintenance, no security issues, and a permissive license. The only caveat is that its rules are opinionated\u2014review the warning list to confirm they align with your team's coding standards before adopting it widely."},"id":"flake8-bugbear","links":{"html":"https://skillfed.io/packages/flake8-bugbear","md":"https://skillfed.io/packages/flake8-bugbear.md","pypi":"https://pypi.org/project/flake8-bugbear/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-11-29","license_spdx":null,"license_treatment":"permissive","name":"flake8-bugbear","python_support":"supports_current","summary":"A plugin for flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle."},"popularity":{"monthly_downloads":5041661,"position":2177,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"25.11.29"}
