Skip to content

Commit d8a75a6

Browse files
committed
ci(gitea): migrate .cz.yaml -> pyproject.toml
ref: #33 #32
1 parent c43c919 commit d8a75a6

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

.cz.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

pyproject.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[project]
2+
name = 'docker-bind'
3+
version = "0.1.0"
4+
5+
6+
[tool.commitizen]
7+
name = "cz_customize"
8+
version_provider = "pep621"
9+
prerelease_offset = 1
10+
tag_format = "$version"
11+
update_changelog_on_bump = false
12+
version_scheme = "semver"
13+
14+
15+
[tool.commitizen.customize]
16+
change_type_map = { "feature" = "Features", "fix" = "Fixes", "refactor" = "Refactoring", "test" = "Tests" }
17+
change_type_order = [ "BREAKING CHANGE", "feat", "fix", "test", "refactor" ]
18+
commit_parser = "^(?P<change_type>feat|fix|test|refactor|perf|BREAKING CHANGE)(?:\\((?P<scope>[^()\r\n]*)\\)|\\()?(?P<breaking>!)?:\\s(?P<message>.*)?"

0 commit comments

Comments
 (0)