Commit 1ba8c6f
Pin ruff lint rule selection explicitly
ruff.toml documented a rule set (F + E4/E7/E9) but never declared
select, so it inherited Ruff's implicit defaults. Those widened in
0.16 to include isort and pyupgrade, so CI (latest ruff) failed on
code that passed locally (0.15.18). Declaring select makes the lint
result identical across versions.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 2e6ff93 commit 1ba8c6f
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
| |||
0 commit comments