2017-03-17 23:52:46 +08:00
|
|
|
# .coveragerc to control coverage.py
|
|
|
|
[run]
|
|
|
|
source = abipy
|
|
|
|
|
|
|
|
[report]
|
|
|
|
# Regexes for lines to exclude from consideration
|
|
|
|
exclude_lines =
|
|
|
|
# Have to re-enable the standard pragma
|
2017-12-28 00:05:51 +08:00
|
|
|
pragma: no cover
|
2017-03-17 23:52:46 +08:00
|
|
|
|
|
|
|
# Don't complain about missing debug-only code:
|
|
|
|
#def __repr__
|
|
|
|
#if self\.debug
|
|
|
|
|
|
|
|
# Don't complain if tests don't hit defensive assertion code:
|
2017-03-23 03:38:49 +08:00
|
|
|
raise AssertionError
|
|
|
|
raise NotImplementedError
|
2017-03-17 23:52:46 +08:00
|
|
|
|
|
|
|
# Don't complain if non-runnable code isn't run:
|
|
|
|
if 0:
|
|
|
|
# Ignore coverage of code that requires the module to be executed.
|
|
|
|
if __name__ == .__main__.:
|
|
|
|
|
|
|
|
ignore_errors = True
|
|
|
|
|
|
|
|
omit =
|
2017-03-23 03:38:49 +08:00
|
|
|
*/python?.?/*
|
|
|
|
*/site-packages/*
|
2017-04-13 08:33:09 +08:00
|
|
|
abipy/data/*
|
|
|
|
abipy/examples/*
|
|
|
|
abipy/gui/*
|
|
|
|
abipy/gw/*
|
2017-11-11 03:51:23 +08:00
|
|
|
abipy/scripts/*
|
2017-04-12 05:49:45 +08:00
|
|
|
./docs/
|