diff options
author | Andrew Cassidy <drewcassidy@me.com> | 2022-12-28 21:53:50 -0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-12-29 08:06:10 +0100 |
commit | ae6a6e4b088a35c0fc7b17940722c8a515f7bee7 (patch) | |
tree | a3a63c150e3e7eac1d8499969a03d4a5b585aac3 | |
parent | 5bce9b4f7fc825d8bcd450325e6dda78c49f0ca0 (diff) | |
download | gitpython-ae6a6e4b088a35c0fc7b17940722c8a515f7bee7.tar.gz |
Fix type hint on create_tag
pycharm yells at me without this
-rw-r--r-- | git/repo/base.py | 2 |
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, |