/usr/lib/python3/dist-packages/photutils/tests/coveragerc is in python3-photutils 0.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | [run]
source = photutils
omit =
photutils/*__init__*
photutils/_astropy_init.py
photutils/conftest*
photutils/cython_version*
photutils/*setup*
photutils/*tests/*
photutils/version*
photutils/extern/*
[report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about packages we have installed
except ImportError
# Don't complain if tests don't hit assertions
raise AssertionError
raise NotImplementedError
# Don't complain about script hooks
def main\(.*\):
# Ignore branches that don't pertain to this version of Python
pragma: py{ignore_python_version}
|