Repository navigation
Commit 9cced9a
Mentioned in astral-sh#29486
Removes the incorrect descriptions from UP040 and UP047 that mention
variance. This was purely decorative and never had any function, so
removing it is perfectly safe.
No further clarification added - variance is quite complicated and the
user doesn't need to know about (decided in the issue).
This is my first PR here, so I probably did something wrong while making
it and I am open to all feedback.
---------
Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>
1 parent 008d452 commit 9cced9a
2 files changed
Lines changed: 7 additions & 14 deletions
File tree
- crates/ruff_linter/src/rules/pyupgrade/rules/pep695
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
43 | 40 | | |
44 | 41 | | |
45 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 32 | | |
37 | 33 | | |
38 | 34 | | |
| |||
62 | 58 | | |
63 | 59 | | |
64 | 60 | | |
65 | | - | |
66 | | - | |
| 61 | + | |
| 62 | + | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
| |||
0 commit comments