Skip to content

Commit 0493765

Browse files
committed
style(bump): rename class for consistency
1 parent a4b9ae9 commit 0493765

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

commitizen/commands/bump.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
logger = getLogger("commitizen")
3838

3939

40-
class BumpArguments(Settings, total=False):
40+
class BumpArgs(Settings, total=False):
4141
allow_no_commit: bool | None
4242
annotated_tag_message: str | None
4343
annotated_tag: bool
@@ -65,15 +65,15 @@ class BumpArguments(Settings, total=False):
6565
class Bump:
6666
"""Show prompt for the user to create a guided commit."""
6767

68-
def __init__(self, config: BaseConfig, arguments: BumpArguments) -> None:
68+
def __init__(self, config: BaseConfig, arguments: BumpArgs) -> None:
6969
if not git.is_git_project():
7070
raise NotAGitProjectError()
7171

7272
self.config: BaseConfig = config
7373
self.encoding = config.settings["encoding"]
7474
self.arguments = arguments
7575
self.bump_settings = cast(
76-
BumpArguments,
76+
BumpArgs,
7777
{
7878
**config.settings,
7979
**{

0 commit comments

Comments
 (0)