| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9decf74 commit a1f094c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,7 +21,6 @@ | |||
| 21 | 21 | Any, | |
| 22 | 22 | Iterator, | |
| 23 | 23 | List, | |
| 24 | - Literal, | ||
| 25 | 24 | Match, | |
| 26 | 25 | Optional, | |
| 27 | 26 | Sequence, | |
@@ -31,7 +30,7 @@ | |||
| 31 | 30 | Union, | |
| 32 | 31 | cast, | |
| 33 | 32 | ) | |
| 34 | - from git.types import PathLike | ||
| 33 | + from git.types import PathLike, Literal | ||
| 35 | 34 | ||
| 36 | 35 | if TYPE_CHECKING: | |
| 37 | 36 | from subprocess import Popen | |
@@ -291,7 +290,7 @@ class DiffIndex(List[T_Diff]): | |||
| 291 | 290 | The class improves the diff handling convenience. | |
| 292 | 291 | """ | |
| 293 | 292 | ||
| 294 | - change_type: Sequence[Literal["A", "C", "D", "R", "M", "T"]] = ("A", "C", "D", "R", "M", "T") | ||
| 293 | + change_type: Sequence[Literal["A", "C", "D", "R", "M", "T"]] = ("A", "C", "D", "R", "M", "T") # noqa: F821 | ||
| 295 | 294 | """Change type invariant identifying possible ways a blob can have changed: | |
| 296 | 295 | ||
| 297 | 296 | * ``A`` = Added | |
| Back | FazBrowse Home | New Git URL |
0 commit comments