unused-noqa (RUF100)
Added in v0.0.155 · Related issues · View source
Fix is always available.
What it does
Checks for noqa directives that are no longer applicable.
Why is this bad?
A noqa directive that no longer matches any diagnostic violations is
likely included by mistake, and should be removed to avoid confusion.
Example
Use instead: