Commit efa3be4
authored
Enable additional ruff lint rules (zero-violation batch) (#1998)
## Summary
- Add 15 new ruff rule sets that require no code changes: W, LOG, DTZ,
FLY, ISC, PGH, SLF, SLOT, TID, INP, ICN, G, BLE, TRY, Q
- Ignore TRY003 globally (long exception messages are idiomatic for
domain-specific errors)
- Add per-file ignores for tests (SLF001) and utils (INP001, BLE001)
- Add noqa for intentional blind except in ActionQueue worker
## Test plan
- [x] `ruff check .` passes
- [x] `pytest` — 280 tests pass
- [x] `mypy` passes1 parent 3c03719 commit efa3be4
2 files changed
+36
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
78 | 111 | | |
79 | | - | |
80 | 112 | | |
81 | 113 | | |
82 | | - | |
| 114 | + | |
| 115 | + | |
83 | 116 | | |
84 | 117 | | |
85 | 118 | | |
| |||
0 commit comments