refactor: update configuration handling and OpenAI client initialization

This commit is contained in:
2025-06-06 11:14:56 +02:00
parent 2eceb07c0b
commit dbad7165bc
9 changed files with 80 additions and 52 deletions

View File

@@ -35,3 +35,29 @@ dev = [
"icecream>=2.1.4",
"nuitka>=2.5.9",
]
[tool.bumpversion]
current_version = "0.1.0"
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 = false
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = false
message = "Bump version: {current_version} → {new_version}"
moveable_tags = []
commit_args = ""
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []
[[tool.bumpversion.files]]
filename = "src/__init__.py"
[[tool.bumpversion.files]]
filename = ".version"