add testing config

This commit is contained in:
2025-04-24 18:35:25 +02:00
parent f848cb1379
commit 8f2087be5d

View File

@@ -6,6 +6,7 @@ readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"anilistapi",
"komcache",
"komgapi",
"limit>=0.2.3",
"loguru>=0.7.3",
@@ -14,10 +15,16 @@ dependencies = [
]
[dependency-groups]
dev = [
"bump-my-version>=0.32.1",
]
dev = ["bump-my-version>=0.32.1"]
test = ["pytest>=8.3.4", "pytest-cov>=6.1.1"]
[tool.uv.sources]
komgapi = { workspace = true }
anilistapi = { workspace = true }
komgapi = { workspace = true }
komcache = { workspace = true }
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=src --cov-report=term-missing"
[tool.coverage.run]
omit = ["main.py", "test.py", "tests/*", "__init__.py"]