.coveragerc: better config

This commit is contained in:
Brian Warner 2016-03-02 13:35:43 -08:00
parent d86dc05b5f
commit 0e5286c7d3

View File

@ -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/