--- id: flake8-variables-names version: "0.0.6" license: MIT license_treatment: permissive maintenance: dormant --- # flake8-variables-names — A flake8 extension that helps to make more readable variables names License: permissive · Maintenance: dormant · Downloads: 434.0K/mo ## What it is and what it does flake8-variables-names is a flake8 plugin that enforces variable naming standards by catching names that are too vague or too short to be self-documenting. It detects three categories of problems: single-letter variable names (VNE001), generic names like 'result', 'value', or 'info' (VNE002), and names that shadow Python builtins (VNE003). The tool runs in non-strict mode by default but can be switched to strict mode with a command-line flag to apply a more aggressive blacklist. The package has no runtime dependencies and integrates directly into your flake8 workflow. It's designed around the philosophy that variable names should clearly indicate what they contain, making code more readable without requiring additional comments. It supports Python 3.7 through 3.10 and is stable enough for production use, though development has been dormant since mid-2023. Use it for: - Enforce consistent naming standards across a team codebase to improve code readability. - Catch accidental single-letter or generic variable names during code review automation. - Detect when new code shadows Python builtins, preventing subtle bugs. - Gradually migrate a legacy codebase toward clearer naming conventions. - Configure strict mode for high-standards projects where variable clarity is critical. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A flake8 extension that detects poorly named variables by flagging single-letter names, overly generic names like 'result' or 'value', and names that shadow Python builtins. Yes, if you use flake8 and want to enforce readable variable names. Installation is frictionless, there are no dependencies, and the MIT license poses no restrictions. The dormant status is not a concern—the plugin is stable and does one thing well. Install it if your team values explicit variable naming; skip it if you prefer flexibility in naming conventions or use a different linter. ## Install pip install flake8-variables-names uv add flake8-variables-names poetry add flake8-variables-names ## Installing flake8-variables-names Before you install: Installation is straightforward with no runtime dependencies. The package is dormant (last commit 2024-06-28, 1149 days since last release), but the repository remains active and unarchived, suggesting stable maintenance rather than abandonment. License in practice: MIT license is permissive, allowing use in commercial and private projects with minimal restrictions—only requiring preservation of the license notice. Quickstart: pip install flake8-variables-names Then run flake8 on your code: flake8 your_file.py Or enable strict mode: flake8 --use-varnames-strict-mode your_file.py Requires flake8 to be installed; this is a plugin that extends flake8, not a standalone tool. Verify before relying: - Whether the strict mode blacklist is documented or customizable beyond the flag. - Current compatibility with recent flake8 versions (last release was 2023-06-22). - Whether VNE error codes can be selectively ignored or configured per project. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 434.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags flake8 variable naming rules, detect poor variable names, enforce variable name clarity, single letter variable detection, flake8 naming convention plugin, variable name linter, builtin shadowing detection, flake8-plugin, code-quality, naming-conventions [View on SkillFed](https://skillfed.io/packages/flake8-variables-names) · [View on PyPI](https://pypi.org/project/flake8-variables-names/)