-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (34 loc) · 854 Bytes
/
pyproject.toml
File metadata and controls
39 lines (34 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[project]
name = "psv"
dynamic = ["version"]
description = "Semantic Versioning based on git commit message for uv python project"
readme = "README.md"
authors = [
{ name = "chck", email = "shimekiri.today@gmail.com" }
]
requires-python = ">=3.12"
dependencies = []
[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version_scheme = "semver2"
version_provider = "scm"
version_files = [
"src/psv/__version__.py:version",
]
update_changelog_on_bump = true
major_version_zero = true
[tool.uv-dynamic-versioning]
vcs = "git"
style = "semver"
format = "{base}"
[tool.hatch.version]
source = "uv-dynamic-versioning"
[tool.hatch.build.hooks.version]
path = "src/psv/__version__.py"
template = '''
version = "{version}"
'''