Skip to content

Commit aeaa980

Browse files
committed
🧪 Map site-packages coverage to actual source
1 parent e07911c commit aeaa980

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,16 @@ showcontent = true
272272
show_contexts = true
273273
skip_covered = false
274274

275+
[tool.coverage.paths]
276+
_site-packages-to-src-mapping = [
277+
"src",
278+
"*/src",
279+
'*\src',
280+
"*/lib/pypy*/site-packages",
281+
"*/lib/python*/site-packages",
282+
'*\Lib\site-packages',
283+
]
284+
275285
[tool.coverage.run]
276286
branch = true
277287
source_pkgs = ["trio"]

0 commit comments

Comments
 (0)