Skip to content

Commit ae6a6e4

Browse files
drewcassidyByron
authored andcommitted
Fix type hint on create_tag
pycharm yells at me without this
1 parent 5bce9b4 commit ae6a6e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/repo/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ def delete_head(self, *heads: "Union[str, Head]", **kwargs: Any) -> None:
482482
def create_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)