Skip to content

Commit

Permalink
Fix type hint on create_tag
Browse files Browse the repository at this point in the history
pycharm yells at me without this
  • Loading branch information
drewcassidy authored and Byron committed Dec 29, 2022
1 parent 5bce9b4 commit ae6a6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/repo/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def delete_head(self, *heads: "Union[str, Head]", **kwargs: Any) -> None:
def create_tag(
self,
path: PathLike,
ref: str = "HEAD",
ref: Union[str, 'SymbolicReference'] = "HEAD",
message: Optional[str] = None,
force: bool = False,
**kwargs: Any,
Expand Down

0 comments on commit ae6a6e4

Please sign in to comment.