Merge pull request #127 from yarons/patch-4
[mygpo.git] / .coveragerc
blob4b1a3c641b96d49995dccd7bf0295c027e829643
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/*
31 precision = 1