Skip to content

Commit c45c96f

Browse files
committed
style(bump): remove redundant type hint
1 parent 47c994c commit c45c96f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

commitizen/commands/bump.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,7 @@ def __call__(self) -> None: # noqa: C901
145145

146146
dry_run: bool = self.arguments["dry_run"]
147147
is_yes: bool = self.arguments["yes"]
148-
increment: SemVerIncrement | None = SemVerIncrement.safe_cast(
149-
self.arguments["increment"]
150-
)
148+
increment = SemVerIncrement.safe_cast(self.arguments["increment"])
151149
prerelease = Prerelease.safe_cast(self.arguments["prerelease"])
152150
devrelease: int | None = self.arguments["devrelease"]
153151
is_files_only: bool | None = self.arguments["files_only"]

0 commit comments

Comments
 (0)