Repository navigation
Commit bb9119d
Pin dev toolchain to the versions the gates are validated against
CI resolved ruff 0.6.9 from the "^0.6" constraint while local development ran
0.15.22, so the two were enforcing different rule sets. CI failed on UP038
(prefer "X | Y" over a tuple in isinstance) -- a rule since retired upstream,
because the union form is slower at runtime than the tuple it replaces. The
code was never wrong; the linters simply disagreed.
Pin pytest, pytest-cov, mypy, ruff and hypothesis to the majors actually in
use. Caret constraints on ruff (0.x) keep a future 0.16 rule set from breaking
CI unprompted.
Also drop respx: declared as a dev dependency but imported nowhere, and not
installed in the working environment.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent b9453f5 commit bb9119d
1 file changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
0 commit comments