-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cz.toml
46 lines (40 loc) · 1.71 KB
/
.cz.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[tool.commitizen]
name = "cz_customize"
[tool.commitizen.customize]
message_template = "{{subject}}({{ scope }}):{% if show_message %} {{message}}{% endif %}"
example = "feature(brokers): added next_message method to message broker resource"
schema = "<type>(<scope>): <body>"
schema_pattern = "(feat|fix|perf|test|refactor|doc)(\\((apps|repo|libs|ml|notebooks|tools|visu)\\))?: (.+)"
[[tool.commitizen.customize.questions]]
type = "list"
name = "subject"
choices = [
{ value = "feat", name = "feat: A new feature." },
{ value = "fix", name = "fix: A bug fix." },
{ value = "test", name = "test: A changes to tests only." },
{ value = "perf", name = "perf: Performance enhancement that do not impact public API." },
{ value = "refactor", name = "refactor: Changes that do not impact public API." },
{ value = "doc", name = "doc: A changes to doc only." },
]
message = "Select the type of change you are committing"
[[tool.commitizen.customize.questions]]
choices = [
{ value = "apps", name = "apps: Changes to applications." },
{ value = "libs", name = "libs: Changes to libs." },
{ value = "repo", name = "repo: Changes to repo." },
{ value = "ml", name = "ml: Changes to Machine Learning library." },
{ value = "tools", name = "tools: Changes to tools." },
{ value = "visu", name = "visu: Changes to visu tools." },
{ value = "notebooks", name = "notebooks: Changes to notebooks." },
]
type = "list"
name = "scope"
message = "Select the type of change you are committing"
[[tool.commitizen.customize.questions]]
type = "input"
name = "message"
message = "Body."
[[tool.commitizen.customize.questions]]
type = "confirm"
name = "show_message"
message = "Do you want to add body message in commit?"