| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,8 +28,6 @@ jobs: | |||
| 28 | 28 | - name: Install dependencies and prepare tests | |
| 29 | 29 | run: | | |
| 30 | 30 | set -x | |
| 31 | - sudo rm -rf "/usr/local/share/boost" | ||
| 32 | - sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
| 33 | 31 | ||
| 34 | 32 | python -m pip install --upgrade pip setuptools wheel | |
| 35 | 33 | python --version; git --version | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,7 +9,7 @@ | |||
| 9 | 9 | ||
| 10 | 10 | # typing ------------------------------------------------------------------ | |
| 11 | 11 | ||
| 12 | - from typing import Any, NoReturn, Union, TYPE_CHECKING | ||
| 12 | + from typing import Any, Iterator, NoReturn, Union, TYPE_CHECKING | ||
| 13 | 13 | from git.types import PathLike | |
| 14 | 14 | ||
| 15 | 15 | ||
@@ -28,7 +28,7 @@ class RemoteReference(Head): | |||
| 28 | 28 | @classmethod | |
| 29 | 29 | def iter_items(cls, repo: 'Repo', common_path: Union[PathLike, None] = None, | |
| 30 | 30 | remote: Union['Remote', None] = None, *args: Any, **kwargs: Any | |
| 31 | - ) -> 'RemoteReference': | ||
| 31 | + ) -> Iterator['RemoteReference']: | ||
| 32 | 32 | """Iterate remote references, and if given, constrain them to the given remote""" | |
| 33 | 33 | common_path = common_path or cls._common_path_default | |
| 34 | 34 | if remote is not None: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments