Mitja Nikolaus | 940c035 | 2018-08-29 12:31:57 +0200 | [diff] [blame] | 1 | [run] |
| 2 | branch = True |
Franz-Xaver Geiger | 0346206 | 2018-09-20 17:41:27 +0200 | [diff] [blame] | 3 | source = . |
Mitja Nikolaus | 940c035 | 2018-08-29 12:31:57 +0200 | [diff] [blame] | 4 | omit = |
| 5 | */migrations/* |
| 6 | */tests.py |
Mitja Nikolaus | 03e412b | 2018-09-18 17:50:15 +0200 | [diff] [blame] | 7 | */tests/* |
Mitja Nikolaus | 940c035 | 2018-08-29 12:31:57 +0200 | [diff] [blame] | 8 | .tox/* |
| 9 | .venv/* |
| 10 | manage.py |
| 11 | |
| 12 | [report] |
| 13 | # Regexes for lines to exclude from consideration |
| 14 | exclude_lines = |
| 15 | # Have to re-enable the standard pragma |
| 16 | pragma: no cover |
| 17 | |
| 18 | # Don't complain about missing debug-only code: |
| 19 | def __repr__ |
| 20 | if self\.debug |
| 21 | |
| 22 | # Don't complain if tests don't hit defensive assertion code: |
| 23 | raise AssertionError |
| 24 | raise NotImplementedError |
| 25 | |
| 26 | # Don't complain if non-runnable code isn't run: |
| 27 | if 0: |
| 28 | if __name__ == .__main__.: |
| 29 | |
| 30 | show_missing = True |