Skip to content

Commit 3b9b4fd

Browse files
LotramLee-W
authored andcommitted
fix(typing): no_raise is declared as optional
1 parent a5802cf commit 3b9b4fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

commitizen/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import argparse
44
import logging
55
import sys
6-
from pathlib import Path
76
from functools import partial
7+
from pathlib import Path
88
from types import TracebackType
99

1010
import argcomplete

commitizen/defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Settings(TypedDict, total=False):
4242
tag_format: str | None
4343
bump_message: str | None
4444
allow_abort: bool
45-
allowed_prefixes: List[str]
45+
allowed_prefixes: list[str]
4646
changelog_file: str
4747
changelog_incremental: bool
4848
changelog_start_rev: str | None

0 commit comments

Comments
 (0)