Repository navigation
Commit 3216308
pin ruff and state the lint rules explicitly (#10)
CI has been red on unchanged code. `ruff>=0.6` is unpinned, and ruff's *default*
rule set widened in 0.16, so CI (which installed 0.16.4) reported 22 findings
across 12 files while a local `.venv` on 0.15.12 reported none.
Declare `[tool.ruff.lint] select` as ruff's pre-0.16 defaults -- the rules this
project has actually been checked against -- so the selection is a project
decision rather than whatever the installed ruff happens to default to, and pin
ruff to `>=0.16,<0.17` so local and CI agree on the version.
No source changes: main is clean under 0.16.4 once the selection is stated.
Adopting the wider rule set is a separate question, left for its own change.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 8ec3375 commit 3216308
2 files changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
10 | 18 | | |
11 | 19 | | |
12 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
0 commit comments