Debian Codegraph @

.coveragerc

raw
1 [run]
2 branch = True
3
4 # Files and directories to omit from coverage measurement
5 omit =
6 *tests*
7 gammapy/extern/*
8 gammapy/conftest.py
9 gammapy/scripts/jupyter.py
10 gammapy/utils/notebooks_links.py
11 gammapy/utils/notebooks_process.py
12 gammapy/utils/notebooks_test.py
13 gammapy/utils/docs.py
14 gammapy/_astropy_init*
15 gammapy/*setup_package*
16 gammapy/tests/*
17 gammapy/*/tests/*
18 gammapy/extern/*
19 gammapy/version*
20 */gammapy/_astropy_init*
21 */gammapy/conftest.py
22 */gammapy/*setup_package*
23 */gammapy/tests/*
24 */gammapy/*/tests/*
25 */gammapy/extern/*
26 */gammapy/version*
27
28 # Make filenames relative to the repository root
29 # for the coverage report to match source paths in sonarqube
30 relative_files = True
31 source = gammapy
32
33 [report]
34 # Lines to ignore in coverage reports
35 exclude_lines =
36 pragma: no cover
37 except ImportError
38 raise AssertionError
39 raise NotImplementedError
40 def main\(.*\):
41 pragma: py{ignore_python_version}
42 def _ipython_key_completions_
43
44 # Re-mapping paths: map equivalent locations of the code to the
45 # first entry path so they match source paths in sonarqube analysis
46 [paths]
47 gammapy =
48 gammapy/
49 .tox/*/site-packages/gammapy
50 **/site-packages/gammapy
51 .tox/*/lib/python*/site-packages/gammapy
52 **/lib/python*/site-packages/gammapy
53 /home/runner/work/gammapy/gammapy/.tox/*/lib/python*/site-packages/gammapy