{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/6"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"}],"enrichment":{"capability":"A flake8 plugin that detects when Python builtins are shadowed by variables, parameters, class attributes, imports, or lambda arguments in your code.","skillfed_tags":["linting","code-quality","flake8-plugin"],"use_cases":["Catch accidental shadowing of builtins like `list` or `dict` in function parameters before they cause runtime errors.","Enforce a team code-style rule that forbids shadowing builtins to keep code predictable and maintainable.","Integrate into CI/CD pipelines to reject pull requests that introduce builtin shadowing violations.","Audit legacy codebases for places where builtins have been shadowed and need refactoring.","Whitelist specific builtins you intentionally shadow (e.g., `id` or `copyright`) via configuration."],"what_it_does":"flake8-builtins is a flake8 plugin that catches a common Python mistake: shadowing built-in names (like `list`, `dict`, `max`, `zip`) with your own variables, function parameters, class attributes, or imports. When you shadow a builtin, you lose access to it in that scope, which can cause cryptic TypeErrors or other runtime failures. The plugin runs as part of your flake8 linting workflow and reports six categories of violations (A001\u2013A006) for different kinds of shadowing.\n\nIt works by integrating into flake8's AST visitor and checking each name binding against Python's builtins. You can customize which builtins to ignore via the --builtins-ignorelist option if you have a legitimate reason to shadow a specific builtin. The plugin supports Python 3.10, 3.11, 3.12, 3.13, 3.14, and PyPy3.","worth_installing":"Yes, if you use flake8 and want to prevent a class of subtle bugs. The plugin is lightweight, has no external dependencies beyond flake8, and catches real mistakes that can break code at runtime. Maintenance is aging but the package is stable and widely used (nearly 1 million monthly downloads). No known security vulnerabilities."},"id":"flake8-builtins","links":{"html":"https://skillfed.io/packages/flake8-builtins","md":"https://skillfed.io/packages/flake8-builtins.md","pypi":"https://pypi.org/project/flake8-builtins/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-10-25","license_spdx":null,"license_treatment":"copyleft","name":"flake8-builtins","python_support":"supports_current","summary":"Check for python builtins being used as variables or parameters"},"popularity":{"monthly_downloads":989868,"position":4565,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.1.0"}
