1# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
2# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
3
4# Settings to use when using coverage.py to measure itself.
5[run]
6branch = true
7data_file = $COVERAGE_METAFILE
8parallel = true
9source =
10    $COVERAGE_HOME/coverage
11    $COVERAGE_HOME/tests
12
13[report]
14# We set a different pragma so our code won't be confused with test code.
15exclude_lines =
16    # pragma: not covered
17    # pragma: nested
18    def __repr__
19    raise AssertionError
20    # pragma: debugging
21    # pragma: only failure
22
23partial_branches =
24    # pragma: part covered
25    if env.TESTING:
26
27ignore_errors = true
28precision = 1
29
30[paths]
31source =
32    .
33    *\coverage\trunk
34    */coverage/trunk
35    *\coveragepy
36