Skip to content

Commit 9914feb

Browse files
committed
style: deprecate
1 parent f8c0c55 commit 9914feb

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
@@ -119,6 +119,8 @@ class Settings(TypedDict, total=False):
119119
CHANGELOG_FORMAT = "markdown"
120120

121121
BUMP_PATTERN = r"^((BREAKING[\-\ ]CHANGE|\w+)(\(.+\))?!?):"
122+
123+
# TODO: remove this in v5
122124
BUMP_MAP = dict(
123125
(
124126
(r"^.+!$", str(VersionIncrement.MAJOR)),
@@ -129,6 +131,8 @@ class Settings(TypedDict, total=False):
129131
(r"^perf", str(VersionIncrement.PATCH)),
130132
)
131133
)
134+
135+
# TODO: remove this in v5
132136
BUMP_MAP_MAJOR_VERSION_ZERO = dict(
133137
(
134138
(r"^.+!$", str(VersionIncrement.MINOR)),

0 commit comments

Comments
 (0)