You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changelog_pattern = "^(BREAKING[\\-\\ ]CHANGE|feat|fix|refactor|perf|ci|docs|style|test|chore|revert|build)(\\(.+\\))?(!)?"# same as bump_pattern
31
+
[tool.commitizen.customize.bump_map]
32
+
"^.+!$" = "MAJOR"
33
+
"^BREAKING[\\-\\ ]CHANGE" = "MAJOR"
34
+
"^feat" = "MINOR"
35
+
"^fix" = "PATCH"
36
+
"^refactor" = "PATCH"
37
+
"^perf" = "PATCH"
38
+
"^ci" = "PATCH"
39
+
"^docs" = "PATCH"
40
+
"^style" = "PATCH"
41
+
"^test" = "PATCH"
42
+
"^chore" = "PATCH"
43
+
"^revert" = "PATCH"
44
+
"^build" = "PATCH"
45
+
46
+
[tool.commitizen.customize.change_type_map]
47
+
"feat" = "Feat"
48
+
"fix" = "Fix"
49
+
"refactor" = "Refactor"
50
+
"perf" = "Perf"
51
+
"ci" = "CI"
52
+
"docs" = "Docs"
53
+
"style" = "Technical"
54
+
"test" = "Tests"
55
+
"chore" = "Technical"
56
+
"revert" = "Fix"
57
+
"build" = "Technical"
58
+
59
+
[[tool.commitizen.customize.questions]]
60
+
type = "list"
61
+
name = "prefix"
62
+
message = "Select the type of change you are committing"
63
+
choices = [
64
+
{ value = "fix", name = "fix: A bug fix. Correlates with PATCH in SemVer", key = "x" },
65
+
{ value = "feat", name = "feat: A new feature. Correlates with MINOR in SemVer", key = "f" },
66
+
{ value = "docs", name = "docs: Documentation only changes", key = "d" },
67
+
{ value = "style", name = "style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)", key = "s" },
68
+
{ value = "refactor", name = "refactor: A code change that neither fixes a bug nor adds a feature", key = "r" },
69
+
{ value = "perf", name = "perf: A code change that improves performance", key = "p" },
70
+
{ value = "test", name = "test: Adding missing or correcting existing tests", key = "t" },
71
+
{ value = "build", name = "build: Changes that affect the build system or external dependencies (example scopes: pip, docker, npm)", key = "b" },
72
+
{ value = "ci", name = "ci: Changes to our CI configuration files and scripts (example scopes: GitLabCI)", key = "c" },
73
+
]
74
+
75
+
[[tool.commitizen.customize.questions]]
76
+
type = "input"
77
+
name = "scope"
78
+
message = "What is the scope of this change? ((story number, class or file name): (press [enter] to skip)\n"
79
+
80
+
[[tool.commitizen.customize.questions]]
81
+
type = "input"
82
+
name = "subject"
83
+
message = "Write a short and imperative summary of the code changes: (lower case and no period)\n"
84
+
85
+
[[tool.commitizen.customize.questions]]
86
+
type = "input"
87
+
name = "body"
88
+
message = "Provide additional contextual information about the code changes: (press [enter] to skip)\n"
89
+
90
+
[[tool.commitizen.customize.questions]]
91
+
type = "confirm"
92
+
message = "Is this a BREAKING CHANGE? Correlates with MAJOR in SemVer"
93
+
name = "is_breaking_change"
94
+
default = false
95
+
96
+
[[tool.commitizen.customize.questions]]
97
+
type = "input"
98
+
name = "footer"
99
+
message = "Footer. Information about Breaking Changes and reference issues that this commit closes: (press [enter] to skip)\n"
changelog_pattern = "^(BREAKING[\\-\\ ]CHANGE|feat|fix|refactor|perf|ci|docs|style|test|chore|revert|build)(\\(.+\\))?(!)?"# same as bump_pattern
174
-
[tool.commitizen.customize.bump_map]
175
-
"^.+!$" = "MAJOR"
176
-
"^BREAKING[\\-\\ ]CHANGE" = "MAJOR"
177
-
"^feat" = "MINOR"
178
-
"^fix" = "PATCH"
179
-
"^refactor" = "PATCH"
180
-
"^perf" = "PATCH"
181
-
"^ci" = "PATCH"
182
-
"^docs" = "PATCH"
183
-
"^style" = "PATCH"
184
-
"^test" = "PATCH"
185
-
"^chore" = "PATCH"
186
-
"^revert" = "PATCH"
187
-
"^build" = "PATCH"
188
-
189
-
[tool.commitizen.customize.change_type_map]
190
-
"feat" = "Feat"
191
-
"fix" = "Fix"
192
-
"refactor" = "Refactor"
193
-
"perf" = "Perf"
194
-
"ci" = "CI"
195
-
"docs" = "Docs"
196
-
"style" = "Technical"
197
-
"test" = "Tests"
198
-
"chore" = "Technical"
199
-
"revert" = "Fix"
200
-
"build" = "Technical"
201
-
202
-
[[tool.commitizen.customize.questions]]
203
-
type = "list"
204
-
name = "prefix"
205
-
message = "Select the type of change you are committing"
206
-
choices = [
207
-
{ value = "fix", name = "fix: A bug fix. Correlates with PATCH in SemVer", key = "x" },
208
-
{ value = "feat", name = "feat: A new feature. Correlates with MINOR in SemVer", key = "f" },
209
-
{ value = "docs", name = "docs: Documentation only changes", key = "d" },
210
-
{ value = "style", name = "style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)", key = "s" },
211
-
{ value = "refactor", name = "refactor: A code change that neither fixes a bug nor adds a feature", key = "r" },
212
-
{ value = "perf", name = "perf: A code change that improves performance", key = "p" },
213
-
{ value = "test", name = "test: Adding missing or correcting existing tests", key = "t" },
214
-
{ value = "build", name = "build: Changes that affect the build system or external dependencies (example scopes: pip, docker, npm)", key = "b" },
215
-
{ value = "ci", name = "ci: Changes to our CI configuration files and scripts (example scopes: GitLabCI)", key = "c" },
216
-
]
217
-
218
-
[[tool.commitizen.customize.questions]]
219
-
type = "input"
220
-
name = "scope"
221
-
message = "What is the scope of this change? ((story number, class or file name): (press [enter] to skip)\n"
222
-
223
-
[[tool.commitizen.customize.questions]]
224
-
type = "input"
225
-
name = "subject"
226
-
message = "Write a short and imperative summary of the code changes: (lower case and no period)\n"
227
-
228
-
[[tool.commitizen.customize.questions]]
229
-
type = "input"
230
-
name = "body"
231
-
message = "Provide additional contextual information about the code changes: (press [enter] to skip)\n"
232
-
233
-
[[tool.commitizen.customize.questions]]
234
-
type = "confirm"
235
-
message = "Is this a BREAKING CHANGE? Correlates with MAJOR in SemVer"
236
-
name = "is_breaking_change"
237
-
default = false
238
-
239
-
[[tool.commitizen.customize.questions]]
240
-
type = "input"
241
-
name = "footer"
242
-
message = "Footer. Information about Breaking Changes and reference issues that this commit closes: (press [enter] to skip)\n"
243
-
244
-
# TODO: Find a way to include pyproject.toml without the version changes
245
-
[tool.cruft]
246
-
skip = ["pyproject.toml"]
247
-
248
-
249
-
[[IgnoredVulns]]
250
-
# False positive for mkdocs, more info: https://github.com/mkdocs/mkdocs/issues/2601
0 commit comments