summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyproject.toml14
1 files changed, 14 insertions, 0 deletions
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",
+]