diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5a84b0f..1a25a01 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,3 +32,10 @@ repos: - id: ruff args: [ --fix ] - id: ruff-format + +- repo: https://github.com/commitizen-tools/commitizen + rev: v4.9.1 + hooks: + - id: commitizen + - id: commitizen-branch + stages: [pre-push] diff --git a/pyproject.toml b/pyproject.toml index a632b17..ad04cfc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -123,7 +123,7 @@ exclude = ["**/__pycache__", "**/.venv", "**/node_modules", "**/dist", "**/build [tool.commitizen] name = "cz_conventional_commits" -version = "0.0.0" +version = "0.1.0" tag_format = "v$version" version_files = [ "pyproject.toml:version",