Skip to content

Commit 2d12d90

Browse files
committed
build: switch configuration file to .cz.toml
1 parent aa82b98 commit 2d12d90

3 files changed

Lines changed: 10 additions & 12 deletions

File tree

.cz.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[tool.commitizen]
2+
name = "cz_conventional_commits"
3+
tag_format = "v$version"
4+
version_files = [
5+
"commitizen/__version__.py",
6+
".pre-commit-config.yaml:rev:.+Commitizen",
7+
]
8+
version_provider = "uv"
9+
version_scheme = "pep440"

.taplo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include = ["pyproject.toml", ".taplo.toml"]
1+
include = ["pyproject.toml", ".taplo.toml", ".cz.toml"]
22

33
[formatting]
44
indent_string = " "

pyproject.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -131,17 +131,6 @@ script = [
131131
requires = ["uv_build >= 0.9.17, <0.10.0"]
132132
build-backend = "uv_build"
133133

134-
135-
[tool.commitizen]
136-
tag_format = "v$version"
137-
version_files = [
138-
"commitizen/__version__.py",
139-
".pre-commit-config.yaml:rev:.+Commitizen",
140-
]
141-
version_provider = "uv"
142-
version_scheme = "pep440"
143-
144-
145134
[tool.uv.build-backend]
146135
module-name = "commitizen"
147136
module-root = ""

0 commit comments

Comments
 (0)