We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf082d commit 2c9af08Copy full SHA for 2c9af08
commitizen/bump_rule.py
@@ -162,8 +162,8 @@ class CustomBumpRule(BumpRule):
162
def __init__(
163
self,
164
bump_pattern: str,
165
- bump_map: dict[str, SemVerIncrement],
166
- bump_map_major_version_zero: dict[str, SemVerIncrement],
+ bump_map: Mapping[str, SemVerIncrement],
+ bump_map_major_version_zero: Mapping[str, SemVerIncrement],
167
):
168
if not bump_map or not bump_pattern or not bump_map_major_version_zero:
169
raise NoPatternMapError(
0 commit comments