Skip to content

Commit 44ca3f2

Browse files
committed
chore: Configure coverage
1 parent b8baa9f commit 44ca3f2

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

pyproject.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies = [
2525
]
2626

2727
[project.optional-dependencies]
28-
test = ["pytest >= 8.0", "pytest-cov >= 5.0"]
28+
test = ["pytest >= 8.0", "pytest-cov >= 5.0", "coverage[toml] >= 7.2"]
2929
lint = ["pre-commit == 4.2.0"]
3030
dev = ["changelist == 0.5"]
3131

@@ -92,3 +92,13 @@ ignore = [
9292

9393
[tool.ruff.format]
9494
docstring-code-format = true
95+
96+
[tool.coverage.run]
97+
branch = true
98+
source = ["lazy_loader", "tests"]
99+
100+
[tool.coverage.paths]
101+
source = [
102+
"src/lazy_loader",
103+
"*/site-packages/lazy_loader",
104+
]

0 commit comments

Comments
 (0)