{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/7"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance"}],"enrichment":{"capability":"A flake8 plugin that validates the formatting and necessity of `# noqa` comments in Python code, catching malformed comments that would be silently ignored and flagging unnecessary suppressions.","skillfed_tags":["flake8-plugin","code-quality"],"use_cases":["Catch typos in noqa comments (missing colons, wrong spacing) that would silently become blanket suppressions and hide real errors.","Enforce a team standard that all noqa comments must include specific error codes rather than blanket suppressions.","Identify and remove unnecessary noqa comments that target violations no longer present in the codebase.","Detect duplicate error codes within a single noqa comment and flag them for cleanup.","Validate that noqa comments actually match violations flake8 has detected on that line."],"what_it_does":"flake8-noqa is a flake8 plugin that enforces correct formatting of `# noqa` comments and detects when they are unnecessary or malformed. It catches subtle mistakes like missing colons, extra spaces, or duplicate codes that would cause flake8 to misinterpret a targeted suppression as a blanket one\u2014potentially hiding errors you care about. The plugin reports errors via codes like NQA001\u2013NQA004 for formatting issues, NQA101\u2013NQA104 for unnecessary or unmatched suppressions, and NQA011\u2013NQA013 for the `# flake8: noqa` variant.\n\nThe plugin integrates directly into flake8's linting pipeline and requires no separate configuration to activate. It supports optional modes to enforce that all noqa comments include error codes, and can optionally include the plugin name in error messages. The description notes that some flake8 plugins intercept noqa comments before flake8 sees them, which can cause false positives; in such cases, the offending plugin should be configured to let flake8 handle noqa logic.","worth_installing":"Yes, if you use flake8 and want to prevent silent noqa comment failures. The plugin is lightweight, has no surprising dependencies, and solves a real problem: malformed noqa comments are easy to write and hard to spot. Maintenance is aging but the repository is active. The copyleft license is a consideration for proprietary projects. No known vulnerabilities."},"id":"flake8-noqa","links":{"html":"https://skillfed.io/packages/flake8-noqa","md":"https://skillfed.io/packages/flake8-noqa.md","pypi":"https://pypi.org/project/flake8-noqa/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-02-07","license_spdx":null,"license_treatment":"copyleft","name":"flake8-noqa","python_support":"supports_current","summary":"Flake8 noqa comment validation"},"popularity":{"monthly_downloads":1421083,"position":3924,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.5.0"}
