summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cassidy <drewcassidy@me.com>2022-12-28 21:53:50 -0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2022-12-29 08:06:10 +0100
commitae6a6e4b088a35c0fc7b17940722c8a515f7bee7 (patch)
treea3a63c150e3e7eac1d8499969a03d4a5b585aac3
parent5bce9b4f7fc825d8bcd450325e6dda78c49f0ca0 (diff)
downloadgitpython-ae6a6e4b088a35c0fc7b17940722c8a515f7bee7.tar.gz
Fix type hint on create_tag
pycharm yells at me without this
-rw-r--r--git/repo/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/repo/base.py b/git/repo/base.py
index 49a3d5a1..165df5fe 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -482,7 +482,7 @@ class Repo(object):
def create_tag(
self,
path: PathLike,
- ref: str = "HEAD",
+ ref: Union[str, 'SymbolicReference'] = "HEAD",
message: Optional[str] = None,
force: bool = False,
**kwargs: Any,