Skip to content

Commit 9d88ad3

Browse files
committed
fix(commitizen-git): unneeded Optional
1 parent c064be5 commit 9d88ad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commitizen/git.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def from_line(cls, line: str, inner_delimiter: str) -> GitTag:
8383

8484

8585
def tag(
86-
tag: str, annotated: bool = False, signed: bool = False, msg: Optional[str] = None
86+
tag: str, annotated: bool = False, signed: bool = False, msg: str | None = None
8787
) -> cmd.Command:
8888
_opt = ""
8989
if annotated:

0 commit comments

Comments
 (0)