Skip to content

Commit e751f73

Browse files
committed
Coverage: Configure in pyproject.toml
1 parent 1db9e16 commit e751f73

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
@@ -50,6 +50,28 @@ dev = [
5050
"setuptools>=80.9.0",
5151
"stopit<1.2",
5252
]
53+
54+
55+
[tool.coverage.run]
56+
branch = false
57+
omit = [
58+
"tests/*",
59+
]
60+
source = [ "src" ]
61+
62+
[tool.coverage.report]
63+
fail_under = 0
64+
show_missing = true
65+
exclude_lines = [
66+
"# pragma: no cover",
67+
"raise NotImplemented",
68+
]
69+
omit = [
70+
"*/.buildout/eggs/*",
71+
"buildout-cache/eggs/*",
72+
"eggs/*",
73+
"parts/*",
74+
"src/crate/client/_pep440.py",
5375
]
5476

5577

0 commit comments

Comments
 (0)