Skip to content

Commit 9c8389a

Browse files
committed
style: deprecate
1 parent 972d9f5 commit 9c8389a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

commitizen/defaults.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ class Settings(TypedDict, total=False):
114114
CHANGELOG_FORMAT = "markdown"
115115

116116
BUMP_PATTERN = r"^((BREAKING[\-\ ]CHANGE|\w+)(\(.+\))?!?):"
117+
118+
# TODO: remove this in v5
117119
BUMP_MAP = dict(
118120
(
119121
(r"^.+!$", str(VersionIncrement.MAJOR)),
@@ -124,6 +126,8 @@ class Settings(TypedDict, total=False):
124126
(r"^perf", str(VersionIncrement.PATCH)),
125127
)
126128
)
129+
130+
# TODO: remove this in v5
127131
BUMP_MAP_MAJOR_VERSION_ZERO = dict(
128132
(
129133
(r"^.+!$", str(VersionIncrement.MINOR)),

0 commit comments

Comments
 (0)