Commit 90b3aea
authored
Update ruff and associated changes (#2522)
* Upgrade ruff to 0.8.1
Remove deprecated rules:
https://astral.sh/blog/ruff-v0.8.0#removal-of-six-deprecated-rules
* Apply ruff/flake8-pyi rule PYI061
PYI061 `Literal[None, ...]` can be replaced with `Literal[...] | None`1 parent f8e3432 commit 90b3aea
3 files changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
298 | | - | |
299 | 297 | | |
300 | | - | |
301 | | - | |
302 | 298 | | |
303 | 299 | | |
304 | 300 | | |
305 | 301 | | |
306 | 302 | | |
307 | 303 | | |
308 | 304 | | |
309 | | - | |
310 | 305 | | |
311 | 306 | | |
312 | 307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | | - | |
| 437 | + | |
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
| |||
1691 | 1691 | | |
1692 | 1692 | | |
1693 | 1693 | | |
1694 | | - | |
| 1694 | + | |
1695 | 1695 | | |
1696 | 1696 | | |
1697 | 1697 | | |
| |||
0 commit comments