|
20 | 20 | "rule": "RUF009", |
21 | 21 | "reason": "Too easy to get a false positive (function call in dataclass defaults)" |
22 | 22 | }, |
23 | | - { "family": "S", "reason": "Some subset is okay" }, |
| 23 | + { "rule": "S101", "family": "S", "reason": "Assert is used by mypy and pytest" }, |
24 | 24 | { "family": "D", "reason": "Too many doc requests" }, |
25 | 25 | { "family": "TD", "reason": "Todo format" }, |
26 | 26 | { "family": "FIX", "reason": "Hacks and todos" }, |
27 | 27 | { "rule": "TID252", "family": "TID", "reason": "Relative imports are fine" }, |
28 | | - { "family": "COM", "reason": "Trailing commas teach the formatter" }, |
29 | | - { "family": "A", "reason": "Okay to shadow builtins" }, |
| 28 | + { "rule": "COM812", "family": "COM", "reason": "Trailing commas teach the formatter" }, |
| 29 | + { "rule": "A002", "family": "A", "reason": "Okay for arguments to shadow builtins" }, |
| 30 | + { "rule": "A003", "family": "A", "reason": "Okay for attributes to shadow builtins" }, |
30 | 31 | { "rule": "E501", "family": "E", "reason": "Line too long" }, |
31 | 32 | { "family": "C90", "reason": "Complexity" }, |
32 | 33 | { |
|
0 commit comments