Skip to content

Commit 96e6b99

Browse files
committed
Coverage: Configure in pyproject.toml
1 parent d7298ec commit 96e6b99

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

pyproject.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,28 @@ dev = [
4949
"setuptools>=80.9.0",
5050
"stopit<1.2",
5151
]
52+
53+
54+
[tool.coverage.run]
55+
branch = false
56+
omit = [
57+
"tests/*",
58+
]
59+
source = [ "src" ]
60+
61+
[tool.coverage.report]
62+
fail_under = 0
63+
show_missing = true
64+
exclude_lines = [
65+
"# pragma: no cover",
66+
"raise NotImplemented",
67+
]
68+
omit = [
69+
"*/.buildout/eggs/*",
70+
"buildout-cache/eggs/*",
71+
"eggs/*",
72+
"parts/*",
73+
"src/crate/client/_pep440.py",
5274
]
5375

5476

0 commit comments

Comments
 (0)