Skip to content

Commit ac14c48

Browse files
committed
chore: fix type hint in _setup_release
1 parent 24ea586 commit ac14c48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

{{cookiecutter.project_name}}/scripts/setup-release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def setup_release(increment: Optional[str] = None) -> None:
5353
raise error
5454

5555

56-
def _setup_release(increment: str, current_version: str, new_version: str) -> None:
56+
def _setup_release(increment: Optional[str], current_version: str, new_version: str) -> None:
5757
"""Prepares a release of the {{cookiecutter.project_name}} package.
5858
5959
Sets up a release branch from the branch develop, bumps the version, and creates a release commit. Does not tag the

0 commit comments

Comments
 (0)