Skip to content

Commit c760296

Browse files
committed
chore: set up version bumps with Commitizen
1 parent 70c29d7 commit c760296

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ dynamic = ["version"]
4242

4343
[project.optional-dependencies]
4444
dev = [
45+
"commitizen ~= 3.29",
4546
"django-stubs[compatible-mypy] ~= 5.0",
4647
"nox == 2024.4.15",
4748
"pre-commit ~= 3.8",
@@ -141,3 +142,10 @@ directory = ".htmlcov/"
141142

142143
[tool.coverage.xml]
143144
output = "coverage.xml"
145+
146+
[tool.commitizen]
147+
name = "cz_conventional_commits"
148+
version = "0.1.0"
149+
version_files = [
150+
"src/management_commands/__init__.py:__version__",
151+
]

0 commit comments

Comments
 (0)