add testing config
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user