move bumpversion to pyproject, update workflow, add database configuration to config class

This commit is contained in:
2025-05-29 11:28:55 +02:00
parent c9d6d5de8f
commit 40d6e8824e
4 changed files with 72 additions and 37 deletions

View File

@@ -13,3 +13,25 @@ build-backend = "hatchling.build"
[dependency-groups]
test = ["pytest>=8.3.4"]
[tool.bumpversion]
current_version = "0.1.6"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = true
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "Bump version: {current_version} → {new_version}"
moveable_tags = []
commit_args = ""
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []