Skip to content

Commit

Permalink
docs: accept type hint suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Wei Lee <[email protected]>
  • Loading branch information
LuisHenri and Lee-W committed Dec 3, 2023
1 parent 4785100 commit 3fd0779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def get_current_branch() -> str:
return c.out


def create_tag(tag: str, message: str | None = None):
def create_tag(tag: str, message: str | None = None) -> None:
c = git.tag(tag, annotated=(message is not None), msg=message)
if c.return_code != 0:
raise exceptions.CommitError(c.err)
Expand Down

0 comments on commit 3fd0779

Please sign in to comment.