diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-02 15:49:50 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-02 15:49:50 +0900 |
| commit | 75a41e28f320788cb4763c8bdea96010f716a7e3 (patch) | |
| tree | a0f466c23ca110cfbb7c957b53efbd13b1c20385 /pyproject.toml | |
| parent | 93bb44a8a65811d8fba05d7667c8451a462400a8 (diff) | |
chore: add pytest-cov configuration with 60% minimum coverage threshold
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 14 |
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", +] |
