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
|
2016-06-21 10:45:39 +01:00
|
|
|
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
|
2016-04-01 11:30:46 +01:00
|
|
|
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
|
|
|
|
|
|
2016-04-01 10:00:52 +01:00
|
|
|
ignore_errors = True
|