-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.cz.toml
More file actions
51 lines (46 loc) · 1.48 KB
/
Copy path.cz.toml
File metadata and controls
51 lines (46 loc) · 1.48 KB
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
47
48
49
50
51
[tool.commitizen]
name = "cz_customize"
tag_format = "$version"
version_scheme = "semver"
version = "0.0.1"
major_version_zero = true
style = [
["qmark", "fg:#ffc900 bold"],
["question", "bold"],
["answer", "fg:#ffc900 bold"],
["pointer", "fg:#ffc900 bold"],
["highlighted", "fg:#ffc900 bold"],
["selected", "fg:#ff6639"],
["separator", "fg:#ff6639"],
["instruction", ""],
["text", ""],
["disabled", "fg:#666a84 italic"]
]
[tool.commitizen.customize]
message_template = "{{change_type}}{% if scope %}({{scope}}){% endif %}: {{message}}"
example = "feature: this feature enable customize through config file"
schema = "<type>(<scope>): <body>"
schema_pattern = "(new|add|update|fix|feat|style)(\\([^()\\r\\n]*\\)):(\\s.*)"
bump_pattern = "^(break|new|fix|hotfix)$"
bump_map = {}
change_type_order = []
info_path = "cz_customize_info.txt"
info = """
This is customized info
"""
commit_parser = "^(?P<change_type>feature|bug fix)(?:\\((?P<scope>[^()\\r\\n]*)\\))?:\\s(?P<message>.*)?"
changelog_pattern = "^(feature|bug fix)?(!)?"
change_type_map = {"feature" = "Feat", "bug fix" = "Fix"}
[[tool.commitizen.customize.questions]]
type = "list"
name = "change_type"
choices = ["update", "new", "add", "fix", "feat", "style"]
message = "Type of change:"
[[tool.commitizen.customize.questions]]
type = "input"
name = "scope"
message = "Class or file name: (press [enter] to skip)"
[[tool.commitizen.customize.questions]]
type = "input"
name = "message"
message = "Message:"