abipy/.coveragerc

36 lines
796 B
Plaintext
Raw Permalink Normal View History

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
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/*
2018-01-13 06:00:59 +08:00
abipy/extensions/*
2017-04-13 08:33:09 +08:00
abipy/gui/*
abipy/scripts/*
abipy/tools/functools_lru_cache.py
2017-04-12 05:49:45 +08:00
./docs/