Skip to content

Commit a57ef86

Browse files
committed
feat(keycardai): initial release
1 parent 0cbfdcc commit a57ef86

2 files changed

Lines changed: 24 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
repos:
33
- repo: https://github.com/commitizen-tools/commitizen
4-
rev: v1.17.0
4+
rev: v4.8.4
55
hooks:
66
- id: commitizen
77
stages: [commit-msg]

pyproject.toml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ dev = [
3737
"mypy>=1.14.1",
3838
"ruff>=0.12.10",
3939
]
40-
docs = [
41-
"mkdocs>=1.6.1",
42-
"mkdocs-material>=9.5.49",
43-
"mkdocs-gen-files>=0.5.0",
44-
]
4540

4641
[project.urls]
4742
Homepage = "https://github.com/keycardai/python-sdk"
@@ -69,6 +64,29 @@ build-backend = "hatchling.build"
6964
[tool.hatch.version]
7065
source = "uv-dynamic-versioning"
7166

67+
[tool.uv-dynamic-versioning]
68+
vcs = "git"
69+
pattern = "(?P<base>\\d+\\.\\d+\\.\\d+)-keycardai"
70+
style = "pep440"
71+
72+
[[tool.uv.index]]
73+
name = "testpypi"
74+
url = "https://test.pypi.org/simple/"
75+
publish-url = "https://test.pypi.org/legacy/"
76+
explicit = true
77+
78+
[tool.commitizen]
79+
name = "cz_customize"
80+
version = "0.0.0"
81+
tag_format = "${version}-keycardai"
82+
ignored_tag_formats = ["${version}-*"]
83+
update_changelog_on_bump = true
84+
bump_message = "bump: keycardai $current_version → $new_version"
85+
major_version_zero = true
86+
87+
[tool.commitizen.customize]
88+
changelog_pattern = "^(feat|fix|refactor|perf|test|build|ci|revert)\\(keycardai\\)(!)?:"
89+
7290
[dependency-groups]
7391
dev = [
7492
"pytest>=8.4.1",

0 commit comments

Comments
 (0)