Skip to content

Commit 2c9af08

Browse files
committed
style(CustomBumpRule): replace type dict with Mapping
1 parent 7bf082d commit 2c9af08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commitizen/bump_rule.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ class CustomBumpRule(BumpRule):
162162
def __init__(
163163
self,
164164
bump_pattern: str,
165-
bump_map: dict[str, SemVerIncrement],
166-
bump_map_major_version_zero: dict[str, SemVerIncrement],
165+
bump_map: Mapping[str, SemVerIncrement],
166+
bump_map_major_version_zero: Mapping[str, SemVerIncrement],
167167
):
168168
if not bump_map or not bump_pattern or not bump_map_major_version_zero:
169169
raise NoPatternMapError(

0 commit comments

Comments
 (0)