Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 15d1c01

Browse filesBrowse files
committed
Add type to symbolicreference.name()
1 parent f1e6e8d commit 15d1c01
Copy full SHA for 15d1c01

3 files changed

+56-84Lines changed: 56 additions & 84 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/pythonpackage.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/pythonpackage.yml
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ jobs:
2828
- name: Install dependencies and prepare tests
2929
run: |
3030
set -x
31-
sudo rm -rf "/usr/local/share/boost"
32-
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
3331
3432
python -m pip install --upgrade pip setuptools wheel
3533
python --version; git --version
Collapse file

‎git/refs/remote.py‎

Copy file name to clipboardExpand all lines: git/refs/remote.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# typing ------------------------------------------------------------------
1111

12-
from typing import Any, NoReturn, Union, TYPE_CHECKING
12+
from typing import Any, Iterator, NoReturn, Union, TYPE_CHECKING
1313
from git.types import PathLike
1414

1515

@@ -28,7 +28,7 @@ class RemoteReference(Head):
2828
@classmethod
2929
def iter_items(cls, repo: 'Repo', common_path: Union[PathLike, None] = None,
3030
remote: Union['Remote', None] = None, *args: Any, **kwargs: Any
31-
) -> 'RemoteReference':
31+
) -> Iterator['RemoteReference']:
3232
"""Iterate remote references, and if given, constrain them to the given remote"""
3333
common_path = common_path or cls._common_path_default
3434
if remote is not None:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.