Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork944
Commit31bc8a4
committed
Remove unneeded F401 "Unused import" suppressions
In git.types.It appears Ruff, unlike flake8, recognizes "import X as X" to meanthat "X" should not be considered unused, even when it appearsoutside a .pyi type stub file where that notation is more commonlyused.Those imports in git.types may benefit from being changed in someway that uses a syntax whose intent is clearer in context, anddepending on how that is done it may even be necessary to bringback suppressions. If so, they can be written more specifically.(For now, changing them would express more than is known about whatnames that are only present in git.types becuase it imports themshould continue to be imported, should be considered conceptuallypublic, or should be condered suitable for use within GitPython.)1 parent6318eea commit31bc8a4
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
|
0 commit comments
Comments
(0)