-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationsuppressionRelated to supression of violations e.g. noqaRelated to supression of violations e.g. noqa
Description
Summary
bool("a"), # noqa: FURB123
It throws RUF100 and RUF102.
I ignore RUF100:
bool("a"), # noqa: FURB123,RUF100
It throws RUF102:
RUF102 [*] Invalid rule code in `# noqa`: FURB123
/snip
335 | bool("a"), # noqa: FURB123,RUF100
I ignore RUF102:
bool("a"), # noqa: FURB123,RUF100,RUF102
It continues to throw RUF102:
RUF102 [*] Invalid rule code in `# noqa`: FURB123
/snip
335 | bool("a"), # noqa: FURB123,RUF100,RUF102
The global suppression under [tool.ruff.lint] works though.
Version
ruff 0.15.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationsuppressionRelated to supression of violations e.g. noqaRelated to supression of violations e.g. noqa