From 75a41e28f320788cb4763c8bdea96010f716a7e3 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 2 Apr 2026 15:49:50 +0900 Subject: chore: add pytest-cov configuration with 60% minimum coverage threshold --- pyproject.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index f6815da..4fee5c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,3 +23,17 @@ ignore = ["E501"] [tool.ruff.lint.isort] known-first-party = ["shared"] + +[tool.coverage.run] +branch = true +source = ["shared/src", "services"] +omit = ["*/tests/*", "*/alembic/*"] + +[tool.coverage.report] +fail_under = 60 +show_missing = true +exclude_lines = [ + "pragma: no cover", + "if __name__", + "if TYPE_CHECKING", +] -- cgit v1.2.3