diff --git a/.cz.toml b/.cz.toml new file mode 100644 index 000000000..f8fa6e92c --- /dev/null +++ b/.cz.toml @@ -0,0 +1,9 @@ +[tool.commitizen] +name = "cz_conventional_commits" +tag_format = "v$version" +version_files = [ + "commitizen/__version__.py", + ".pre-commit-config.yaml:rev:.+Commitizen", +] +version_provider = "uv" +version_scheme = "pep440" diff --git a/.taplo.toml b/.taplo.toml index 36a3453ac..4e1a1b247 100644 --- a/.taplo.toml +++ b/.taplo.toml @@ -1,4 +1,4 @@ -include = ["pyproject.toml", ".taplo.toml"] +include = ["pyproject.toml", ".taplo.toml", ".cz.toml"] [formatting] indent_string = " " diff --git a/pyproject.toml b/pyproject.toml index 7262a5dd1..aed396890 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -131,17 +131,6 @@ script = [ requires = ["uv_build >= 0.9.17, <0.10.0"] build-backend = "uv_build" - -[tool.commitizen] -tag_format = "v$version" -version_files = [ - "commitizen/__version__.py", - ".pre-commit-config.yaml:rev:.+Commitizen", -] -version_provider = "uv" -version_scheme = "pep440" - - [tool.uv.build-backend] module-name = "commitizen" module-root = ""