[Tests] for coverage omits
[mygpo.git] / .coveragerc
blob37e41e6bcd87efa61c4a46d3876eb6ad4778dcaf
1 [run]
2 branch = True
3 source=mygpo/
4 omit=*/admin.py,*/wsgi.py,*/tests.py,*/management/*
5 plugins =
6     django_coverage_plugin
9 [report]
10 # Regexes for lines to exclude from consideration
11 exclude_lines =
12     # Have to re-enable the standard pragma
13     pragma: no cover
15     # Don't complain about missing debug-only code:
16     def __repr__
17     if self\.debug
19     # Don't complain if tests don't hit defensive assertion code:
20     raise AssertionError
21     raise NotImplementedError
23     # Don't complain if non-runnable code isn't run:
24     if 0:
25     if __name__ == .__main__.:
27 show_missing = True
29 omit=*/migrations/*,admin.py,*/wsgi.py,*/tests.py,*/management/*