mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-25 04:46:23 +02:00
30 lines
681 B
INI
30 lines
681 B
INI
# .coveragerc to control coverage.py
|
|
[run]
|
|
branch = True
|
|
source = GPy
|
|
omit = ./GPy/examples/*.py, ./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
|
|
verbose
|
|
|
|
# Don't complain about missing debug-only code:
|
|
if self\.debug
|
|
|
|
# Don't complain if tests don't hit defensive assertion code:
|
|
raise
|
|
except
|
|
pass
|
|
Not implemented
|
|
|
|
# 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
|