feat(add-commitizen): Add commitizen to make it easier to commit in semantic commits

This commit is contained in:
Jan K9f 2025-04-04 07:31:25 +02:00
parent 87c822dbd7
commit 4eb644d69d
Signed by: jank
GPG key ID: 22BEAC760B3333D6
2 changed files with 13 additions and 0 deletions

5
.cz.toml Normal file
View file

@ -0,0 +1,5 @@
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version_scheme = "semver"
version_provider = "scm"

8
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,8 @@
repos:
- hooks:
- id: commitizen
- id: commitizen-branch
stages:
- push
repo: https://github.com/commitizen-tools/commitizen
rev: v4.4.1