Skip to content

Commit ea869bb

Browse files
authored
symbolic.py update imports
1 parent a5a05d1 commit ea869bb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

git/refs/symbolic.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from git.types import PathLike
21
import os
32

43
from git.compat import defenc
@@ -17,17 +16,18 @@
1716
BadName
1817
)
1918

20-
import os.path as osp
21-
22-
from .log import RefLog
19+
from .log import RefLog, RefLogEntry
2320

2421
# typing ------------------------------------------------------------------
2522

26-
from typing import Any, Iterator, List, Match, Optional, Tuple, Type, TypeVar, Union, TYPE_CHECKING # NOQA
23+
from typing import Any, Iterator, List, Match, Optional, Tuple, Type, TypeVar, Union, TYPE_CHECKING, cast # NOQA
2724
from git.types import Commit_ish, PathLike, TBD, Literal # NOQA
2825

2926
if TYPE_CHECKING:
3027
from git.repo import Repo
28+
from git.refs import Reference, Head, TagReference, RemoteReference
29+
from git.config import GitConfigParser
30+
from git.objects.commit import Actor
3131

3232
T_References = TypeVar('T_References', bound='SymbolicReference')
3333

0 commit comments

Comments
 (0)