Skip to content

Commit e6e7475

Browse files
committed
fix(types): allow None for message_length_limit cli arg
1 parent e61f70c commit e6e7475

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

commitizen/commands/check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class CheckArgs(TypedDict, total=False):
2121
commit_msg: str
2222
rev_range: str
2323
allow_abort: bool
24-
message_length_limit: int
24+
message_length_limit: int | None
2525
allowed_prefixes: list[str]
2626
message: str
2727
use_default_range: bool

commitizen/commands/commit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class CommitArgs(TypedDict, total=False):
3535
dry_run: bool
3636
edit: bool
3737
extra_cli_args: str
38-
message_length_limit: int
38+
message_length_limit: int | None
3939
no_retry: bool
4040
signoff: bool
4141
write_message_to_file: Path | None

0 commit comments

Comments
 (0)