Skip to content

Commit

Permalink
Add commitizen as commit helper
Browse files Browse the repository at this point in the history
  • Loading branch information
rumpelsepp committed Oct 31, 2024
1 parent de49635 commit fb2f071
Show file tree
Hide file tree
Showing 2 changed files with 158 additions and 1 deletion.
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dependencies = [

[tool.uv]
dev-dependencies = [
"commitizen>=3.30.0",
"mypy >=1.0,<2.0",
"pylsp-mypy >=0.6,<0.7",
"pylsp-rope >=0.1,<0.2",
Expand Down Expand Up @@ -65,3 +66,11 @@ ignore = [
"PLR0915", # too many statements
"PLC1901", # empty string is falsey
]

[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version_scheme = "pep440"
version_provider = "pep621"
major_version_zero = true
annotated_tag = true
Loading

0 comments on commit fb2f071

Please sign in to comment.