From 350c4266e039865b0571a9efb2fa76c0bde63391 Mon Sep 17 00:00:00 2001 From: banteg <4562643+banteg@users.noreply.github.com> Date: Mon, 29 Dec 2025 17:54:37 +0400 Subject: [PATCH] test: coverage --- Makefile | 6 ++++++ pyproject.toml | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a1fb098 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +.PHONY: check + +check: + uv run ruff check . + uv run ty check . + uv run pytest diff --git a/pyproject.toml b/pyproject.toml index 837a510..888c683 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,4 +41,11 @@ include = ["src/takopi", "readme.md", "LICENSE"] [dependency-groups] dev = [ "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"]