.coveragerc: better config
This commit is contained in:
parent
d86dc05b5f
commit
0e5286c7d3
17
.coveragerc
17
.coveragerc
|
@ -1,3 +1,18 @@
|
|||
[run]
|
||||
include = src/wormhole/*
|
||||
# only record trace data for wormhole.*
|
||||
source = wormhole
|
||||
# and don't trace the test files themselves
|
||||
omit = src/wormhole/test/*
|
||||
|
||||
# This allows 'coverage combine' to correlate the tracing data built while
|
||||
# running tests in multiple tox virtualenvs. To take advantage of this
|
||||
# properly, use "coverage erase" before tox, "coverage run --parallel-mode"
|
||||
# inside tox to avoid overwriting the output data (by writing it into
|
||||
# .coverage-XYZ instead of just .coverage), and run "coverage combine"
|
||||
# afterwards.
|
||||
|
||||
[paths]
|
||||
source =
|
||||
src/
|
||||
.tox/*/lib/python*/site-packages/
|
||||
.tox/pypy*/site-packages/
|
||||
|
|
Loading…
Reference in New Issue
Block a user