-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
suppressionRelated to supression of violations e.g. noqaRelated to supression of violations e.g. noqa
Description
When both rules are selected, any #noqa with unknown/invalid rule codes will be flagged by both RUF100 and RUF102. The RUF100 diagnostic will treat the code as "unknown", while RUF102 will call it "invalid".
We could either:
- drop the "unknown" codes section from RUF100 entirely and leave that for RUF102
- hide the "unknown" codes section of RUF100 iff the RUF102 rule is enabled
I'm in favor of the first, as it simplifies the code and is easier to "explain" IMO.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
suppressionRelated to supression of violations e.g. noqaRelated to supression of violations e.g. noqa