GPy/.coveragerc
2015-11-12 12:00:17 +00:00

34 lines
No EOL
797 B
INI

# .coveragerc to control coverage.py
[run]
branch = True
source = GPy
omit = ./GPy/testing/*.py, travis_tests.py, setup.py, ./GPy/__version__.py
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about missing debug-only code:
if self\.debug
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
raise NotImplemented
except NotImplementedError
except NotImplemented
except AssertionError
except ImportError
pass
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
# Don't fail on python3 catch clauses:
python3
ignore_errors = True