GPy/.coveragerc

31 lines
681 B
Text
Raw Normal View History

2015-11-07 11:54:18 +00:00
# .coveragerc to control coverage.py
[run]
branch = True
2015-11-12 12:00:17 +00:00
source = GPy
omit = ./GPy/examples/*.py, ./GPy/testing/*.py, travis_tests.py, setup.py, ./GPy/__version__.py
2015-11-07 11:54:18 +00:00
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
2016-04-08 13:47:01 +01:00
verbose
2015-11-07 11:54:18 +00:00
# Don't complain about missing debug-only code:
if self\.debug
# Don't complain if tests don't hit defensive assertion code:
2016-04-08 13:47:01 +01:00
raise
except
2015-11-07 11:54:18 +00:00
pass
2016-04-08 13:47:01 +01:00
Not implemented
2015-11-07 11:54:18 +00:00
# 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