$npx skillfedfor your agent

flake8-noqa

Flake8 noqa comment validation

With conditionsPyPI Python ModulesReleased Feb 20261.4M downloads / mocopyleft licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — flake8_noqa-1.5.0-py3-none-any.whl
v1.5.0 · released 2026-02-07 · Python >=3.9 · 2 runtime deps: flake8, typing_extensions

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later and flake8 to be installed and configured in your project.
  • Low friction: pure Python wheel with only flake8 and typing_extensions as runtime dependencies.
  • Maintenance is aging (188 days since last release), but the repository is active and not archived.

License · maintenance · safety

copyleft license (copyleft) — Licensed under GNU Lesser General Public License v3 (copyleft). Derivative works and modifications must be distributed under the same or compatible license; proprietary code using this plugin should review copyleft obligations.

last release 2026-02-07 (188 days) · last repo commit 2026-02-07 · 39 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,421,083 downloads/mo, #3,924 on PyPI

Verify before relying

pip install flake8-noqa

# Then run flake8 as normal; the plugin activates automatically
flake8 your_file.py

# Optional: enable code requirement in config or CLI
flake8 --noqa-require-code your_file.py
  • Whether the plugin's error codes (NQA001–NQA104) can be suppressed via flake8's standard ignore mechanisms without creating circular logic.
  • Compatibility with flake8 plugins that process noqa comments themselves (the description notes this as a known anti-pattern but doesn't enumerate which plugins are affected).
Same gist for agents: .md · .json

What it is and 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—potentially hiding errors you care about. The plugin reports errors via codes like NQA001–NQA004 for formatting issues, NQA101–NQA104 for unnecessary or unmatched suppressions, and NQA011–NQA013 for the `# flake8: noqa` variant.

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

flake8-noqa on PyPI

Before you install

Low friction: pure Python wheel with only flake8 and typing_extensions as runtime dependencies. Maintenance is aging (188 days since last release), but the repository is active and not archived.

Requires Python 3.9 or later and flake8 to be installed and configured in your project.

License in practice

Licensed under GNU Lesser General Public License v3 (copyleft). Derivative works and modifications must be distributed under the same or compatible license; proprietary code using this plugin should review copyleft obligations.

Quickstart

pip install flake8-noqa

# Then run flake8 as normal; the plugin activates automatically
flake8 your_file.py

# Optional: enable code requirement in config or CLI
flake8 --noqa-require-code your_file.py

Verify before relying

  • Whether the plugin's error codes (NQA001–NQA104) can be suppressed via flake8's standard ignore mechanisms without creating circular logic.
  • Compatibility with flake8 plugins that process noqa comments themselves (the description notes this as a known anti-pattern but doesn't enumerate which plugins are affected).

Package facts

Licensecopyleft license copyleft
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
flake8typing_extensions
MaintenanceAging 188 days since the last release
Last repo commit
First released
Downloads1,421,083 / month, #3,924 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: ConsoleFramework :: Flake8Intended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)Programming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality Assurance

Evidence: flake8_noqa-1.5.0-py3-none-any.whl

Tags

Capabilities
flake8 noqa comment validationnoqa comment formatterflake8 plugin quality checkvalidate noqa syntaxdetect unused noqa commentsflake8 comment linter
Topics
flake8-plugincode-quality
PyPI keywords
flake8noqa

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “flake8 noqa comment validation”

  • flake8-noqaA flake8 plugin that validates the formatting and necessity of `#…
  • yesqayesqa automatically removes unnecessary `# noqa` comments from Python…
  • flake8Flake8 is a command-line tool that combines PyFlakes, pycodestyle,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also flake8-html · yesqa · flake8-fixme · flake8 · flake8-black · flake8-print · flake8-string-format · pep8 · flake8-expression-complexity · autopep8