{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/3"}],"enrichment":{"capability":"yesqa automatically removes unnecessary `# noqa` comments from Python code, detecting and cleaning up suppressions that no longer apply due to configuration changes, code modifications, or mistakes.","skillfed_tags":["linting","code-quality","pre-commit"],"use_cases":["Clean up noqa comments after raising your flake8 line-length limit or disabling certain checks.","Remove stale suppressions when refactoring code that previously violated linting rules.","Enforce hygiene in pre-commit hooks to prevent accumulation of dead noqa comments over time.","Audit a codebase to find noqa comments that were added by mistake and no longer serve a purpose.","Integrate into CI to automatically flag or remove unnecessary suppressions during code review."],"what_it_does":"yesqa is a maintenance tool that scans Python code for `# noqa` comments and removes those that are no longer needed. It integrates with flake8 to determine which suppressions are actually suppressing violations; if a comment no longer matches any active violation, it gets removed. This is useful when your linting configuration changes (e.g., you increase max line length), when code is refactored and violations disappear, or when noqa comments were added by mistake.\n\nThe tool works as a standalone command-line utility or as a pre-commit hook, making it easy to enforce clean suppression comments across a team or CI pipeline. It depends on flake8 for violation detection and tokenize-rt for safe comment manipulation, and supports both CPython and PyPy on modern Python versions.","worth_installing":"Yes. yesqa solves a real maintenance problem\u2014noqa comment drift\u2014with low install friction, active maintenance, permissive licensing, and no known vulnerabilities. It's most valuable in teams or projects that use flake8 and want to keep suppression comments honest over time."},"id":"yesqa","links":{"html":"https://skillfed.io/packages/yesqa","md":"https://skillfed.io/packages/yesqa.md","pypi":"https://pypi.org/project/yesqa/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-06-10","license_spdx":null,"license_treatment":"permissive","name":"yesqa","python_support":"supports_current","summary":"Automatically remove unnecessary `# noqa` comments."},"popularity":{"monthly_downloads":132383,"position":11554,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.5.0"}
