Repository navigation
Commit 90e6ccb
Enable "UP" rules in Ruff (pyupgrade)
As version of Python get dropped (like Python 3.9 recently), it's good to keep on top of opportunities for syntax changes/modernization. This Ruff rule is an easy to way to do this.
My ulterior motive is to get more Ruff rulesets enabled in the codebase, gradually.1 parent 5c2bcf4 commit 90e6ccb
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
0 commit comments