Skip to content

Commit

Permalink
Don't count vendored code into coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Aug 18, 2021
1 parent 3f1a73a commit 7ab18e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.cfg
Expand Up @@ -53,11 +53,12 @@ distutils.commands =
bdist_wheel = wheel.bdist_wheel:bdist_wheel

[tool:pytest]
addopts = --cov=wheel
addopts = --cov --cov-config=setup.cfg
testpaths = tests

[coverage:run]
source = wheel
omit = */vendored/*

[coverage:report]
show_missing = true
Expand Down

0 comments on commit 7ab18e4

Please sign in to comment.