| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 012d710 commit a06f1fc
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,11 +33,6 @@ | |||
| 33 | 33 | runtime_checkable, | |
| 34 | 34 | ) | |
| 35 | 35 | ||
| 36 | - # if sys.version_info >= (3, 10): | ||
| 37 | - # from typing import TypeGuard # noqa: F401 | ||
| 38 | - # else: | ||
| 39 | - # from typing_extensions import TypeGuard # noqa: F401 | ||
| 40 | - | ||
| 41 | 36 | if TYPE_CHECKING: | |
| 42 | 37 | from git.repo import Repo | |
| 43 | 38 | from git.objects import Commit, Tree, TagObject, Blob | |
@@ -117,10 +112,6 @@ | |||
| 117 | 112 | ConfigLevels_Tup = Tuple[Literal["system"], Literal["user"], Literal["global"], Literal["repository"]] | |
| 118 | 113 | """Static type of a tuple of the four strings representing configuration levels.""" | |
| 119 | 114 | ||
| 120 | - # def is_config_level(inp: str) -> TypeGuard[Lit_config_levels]: | ||
| 121 | - # # return inp in get_args(Lit_config_level) # only py >= 3.8 | ||
| 122 | - # return inp in ("system", "user", "global", "repository") | ||
| 123 | - | ||
| 124 | 115 | # Progress parameter type alias ----------------------------------------- | |
| 125 | 116 | ||
| 126 | 117 | CallableProgress = Optional[Callable[[int, Union[str, float], Union[str, float, None], str], None]] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments