Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit15d1c01

Browse files
committed
Add type to symbolicreference.name()
1 parentf1e6e8d commit15d1c01

File tree

3 files changed

+56
-84
lines changed

3 files changed

+56
-84
lines changed

‎.github/workflows/pythonpackage.yml‎

Lines 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

‎git/refs/remote.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

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

12-
fromtypingimportAny,NoReturn,Union,TYPE_CHECKING
12+
fromtypingimportAny,Iterator,NoReturn,Union,TYPE_CHECKING
1313
fromgit.typesimportPathLike
1414

1515

@@ -28,7 +28,7 @@ class RemoteReference(Head):
2828
@classmethod
2929
defiter_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_pathorcls._common_path_default
3434
ifremoteisnotNone:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp