Skip to content

Commit 34e9850

Browse files
committed
Add type to symbolicreference.iter_items()
1 parent 15d1c01 commit 34e9850

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git/refs/symbolic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -642,8 +642,8 @@ def _iter_items(cls: Type[T_References], repo: 'Repo', common_path: Union[PathLi
642642
# END for each sorted relative refpath
643643

644644
@classmethod
645-
# type: ignore[override]
646-
def iter_items(cls, repo: 'Repo', common_path: Union[PathLike, None] = None, *args, **kwargs):
645+
def iter_items(cls: Type[T_References], repo: 'Repo', common_path: Union[PathLike, None] = None,
646+
*args: Any, **kwargs: Any) -> Iterator[T_References]:
647647
"""Find all refs in the repository
648648
649649
:param repo: is the Repo

0 commit comments

Comments
 (0)