File: .coveragerc

package info (click to toggle)
python-virtualenv 20.17.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,580 kB
  • sloc: python: 9,952; sh: 149; ansic: 61; csh: 35; makefile: 10
file content (30 lines) | stat: -rw-r--r-- 777 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[coverage:report]
show_missing = True
exclude_lines =
    \#\s*pragma: no cover
    ^\s*raise AssertionError\b
    ^\s*raise NotImplementedError\b
    ^\s*raise$
    ^if __name__ == ['"]__main__['"]:$
omit =
    # site.py is ran before the coverage can be enabled, no way to measure coverage on this
    src/virtualenv/create/via_global_ref/builtin/python2/site.py
    src/virtualenv/create/via_global_ref/_virtualenv.py
    src/virtualenv/activation/python/activate_this.py
    src/virtualenv/seed/wheels/embed/pip-*.whl/*

[coverage:paths]
source =
    src
    .tox/*/lib/python*/site-packages
    .tox/pypy*/site-packages
    .tox\*\Lib\site-packages
    .tox\py\site-packages
    */src
    *\src

[coverage:run]
branch = false
parallel = true
source =
    ${_COVERAGE_SRC}