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

Commitae6a6e4

Browse files
drewcassidyByron
authored andcommitted
Fix type hint on create_tag
pycharm yells at me without this
1 parent5bce9b4 commitae6a6e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/repo/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ def delete_head(self, *heads: "Union[str, Head]", **kwargs: Any) -> None:
482482
defcreate_tag(
483483
self,
484484
path:PathLike,
485-
ref:str="HEAD",
485+
ref:Union[str,'SymbolicReference']="HEAD",
486486
message:Optional[str]=None,
487487
force:bool=False,
488488
**kwargs:Any,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp