diff options
author | Yobmod <yobmod@gmail.com> | 2021-07-31 15:56:42 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-07-31 15:56:42 +0100 |
commit | 34e9850989e9748e94609925a754de4b2ba38216 (patch) | |
tree | 350e8c01b612e3bf38d6ff1d85165be8d72adde1 | |
parent | 15d1c01c132bc6fbdb21146578df35a8f7e2195e (diff) | |
download | gitpython-34e9850989e9748e94609925a754de4b2ba38216.tar.gz |
Add type to symbolicreference.iter_items()
-rw-r--r-- | git/refs/symbolic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/refs/symbolic.py b/git/refs/symbolic.py index 779fe5a5..081cd74d 100644 --- a/git/refs/symbolic.py +++ b/git/refs/symbolic.py @@ -642,8 +642,8 @@ class SymbolicReference(object): # END for each sorted relative refpath @classmethod - # type: ignore[override] - def iter_items(cls, repo: 'Repo', common_path: Union[PathLike, None] = None, *args, **kwargs): + def iter_items(cls: Type[T_References], repo: 'Repo', common_path: Union[PathLike, None] = None, + *args: Any, **kwargs: Any) -> Iterator[T_References]: """Find all refs in the repository :param repo: is the Repo |