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
Copy file name to clipboardExpand all lines: docs/config.md
+1-34Lines changed: 1 addition & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,5 @@
1
1
# Configuration
2
2
3
-
Commitizen has support for `toml` and `ini` files. It first looks up the configuration file in the current working directory and then the root directory of the git project.
4
-
5
3
## pyproject.toml or .cz.toml
6
4
7
5
Add an entry to `pyproject.toml` or `.cz.toml`. Recommended for **python** projects.
@@ -28,38 +26,7 @@ style = [
28
26
]
29
27
```
30
28
31
-
## INI files
32
-
33
-
**INI files will not be supported in the next major version. Please use toml instead**
34
-
35
-
Supported files: `.cz`, `.cz.cfg`, `setup.cfg`, and `$HOME/.cz`
36
-
37
-
The format is slightly different to the `toml`, so pay attention.
38
-
Recommended for **other languages** projects (js, go, etc).
39
-
40
-
```ini
41
-
[commitizen]
42
-
name = cz_conventional_commits
43
-
version = 0.1.0
44
-
version_files = [
45
-
"src/__version__.py",
46
-
"pyproject.toml:version"
47
-
]
48
-
style = [
49
-
["qmark", "fg:#ff9d00 bold"],
50
-
["question", "bold"],
51
-
["answer", "fg:#ff9d00 bold"],
52
-
["pointer", "fg:#ff9d00 bold"],
53
-
["highlighted", "fg:#ff9d00 bold"],
54
-
["selected", "fg:#cc5454"],
55
-
["separator", "fg:#cc5454"],
56
-
["instruction", ""],
57
-
["text", ""],
58
-
["disabled", "fg:#858585 italic"]
59
-
]
60
-
```
61
-
62
-
The extra tab before the square brackets (`]`) at the end is required.
29
+
`.cz.toml` is recommended for **other languages** projects (js, go, etc).
0 commit comments