64 lines
1.5 KiB
TOML
64 lines
1.5 KiB
TOML
[project]
|
|
name = "comicvineapi"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
authors = [
|
|
{ name = "WorldTeacher", email = "coding_contact@pm.me" }
|
|
]
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"httpx>=0.28.1",
|
|
"httpx-ratelimiter>=0.0.6",
|
|
"httpx-retries>=0.4.0",
|
|
"pyrate-limiter>=3.1.1",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["test"]
|
|
addopts = "--cov=src --cov-report=term-missing"
|
|
[tool.coverage.run]
|
|
omit = ["main.py", "test.py", "test/*", "__init__.py"]
|
|
|
|
|
|
[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 = []
|
|
|
|
#add src/comicvineapi __init__.py for version management
|
|
[[tool.bumpversion.files]]
|
|
filename="src/comicvineapi/__init__.py"
|
|
search = "__version__ = \"{current_version}\""
|
|
replace = "__version__ = \"{new_version}\""
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"python-dotenv>=1.1.1",
|
|
]
|
|
test = [
|
|
"pytest>=8.4.1",
|
|
"pytest-cov>=6.2.1",
|
|
]
|