diff options
author | Dominic <yobmod@gmail.com> | 2021-07-31 13:55:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-31 13:55:52 +0100 |
commit | ea869bbdf65bbfc2254cefd18b775e7939651dec (patch) | |
tree | 4baccda608c839efa2f755b4ed01b7077261b90d | |
parent | a5a05d153ecdbd9b9bdb285a77f5b14d9c0344b0 (diff) | |
download | gitpython-ea869bbdf65bbfc2254cefd18b775e7939651dec.tar.gz |
symbolic.py update imports
-rw-r--r-- | git/refs/symbolic.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/git/refs/symbolic.py b/git/refs/symbolic.py index 0e9dad5c..15d9dff5 100644 --- a/git/refs/symbolic.py +++ b/git/refs/symbolic.py @@ -1,4 +1,3 @@ -from git.types import PathLike import os from git.compat import defenc @@ -17,17 +16,18 @@ from gitdb.exc import ( BadName ) -import os.path as osp - -from .log import RefLog +from .log import RefLog, RefLogEntry # typing ------------------------------------------------------------------ -from typing import Any, Iterator, List, Match, Optional, Tuple, Type, TypeVar, Union, TYPE_CHECKING # NOQA +from typing import Any, Iterator, List, Match, Optional, Tuple, Type, TypeVar, Union, TYPE_CHECKING, cast # NOQA from git.types import Commit_ish, PathLike, TBD, Literal # NOQA if TYPE_CHECKING: from git.repo import Repo + from git.refs import Reference, Head, TagReference, RemoteReference + from git.config import GitConfigParser + from git.objects.commit import Actor T_References = TypeVar('T_References', bound='SymbolicReference') |