Skip to content

Commit

Permalink
build(pyproject): add commitizen
Browse files Browse the repository at this point in the history
  • Loading branch information
alwinw committed Apr 8, 2023
1 parent d80ec94 commit b7b794c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@ _generate/
*.py[cod]
*.egg-info
*env*
.mypy_cache/
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,9 @@ test-command = "pytest {project}/Python/tests"
test-extras = ["test"]
# Setuptools bug causes collision between pypy and cpython artifacts
before-build = "rm -rf {project}/build"

[tool.commitizen]
version = "0.2.2"
tag_format = "v$version"
version_files = ["pyproject.toml:version", "setup.py"]
update_changelog_on_bump = true

0 comments on commit b7b794c

Please sign in to comment.