Skip to content

Commit 7ab18e4

Browse files
committed
Don't count vendored code into coverage
1 parent 3f1a73a commit 7ab18e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ distutils.commands =
5353
bdist_wheel = wheel.bdist_wheel:bdist_wheel
5454

5555
[tool:pytest]
56-
addopts = --cov=wheel
56+
addopts = --cov --cov-config=setup.cfg
5757
testpaths = tests
5858

5959
[coverage:run]
6060
source = wheel
61+
omit = */vendored/*
6162

6263
[coverage:report]
6364
show_missing = true

0 commit comments

Comments
 (0)