test: coverage

This commit is contained in:
banteg
2025-12-29 17:54:37 +04:00
parent 8dd38e596c
commit 350c4266e0
2 changed files with 13 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
.PHONY: check
check:
uv run ruff check .
uv run ty check .
uv run pytest
+7
View File
@@ -41,4 +41,11 @@ include = ["src/takopi", "readme.md", "LICENSE"]
[dependency-groups] [dependency-groups]
dev = [ dev = [
"pytest>=9.0.2", "pytest>=9.0.2",
"pytest-cov>=7.0.0",
"ruff>=0.14.10",
"ty>=0.0.7",
] ]
[tool.pytest.ini_options]
addopts = ["--cov=takopi", "--cov-report=term-missing"]
testpaths = ["tests"]