blob: dcda13e551d1594a0f075ab8f55142d568a793bc [file] [log] [blame]
Mitja Nikolaus940c0352018-08-29 12:31:57 +02001[run]
2branch = True
3omit =
4 */migrations/*
5 */tests.py
Mitja Nikolaus03e412b2018-09-18 17:50:15 +02006 */tests/*
Mitja Nikolaus940c0352018-08-29 12:31:57 +02007 .tox/*
8 .venv/*
9 manage.py
10
11[report]
12# Regexes for lines to exclude from consideration
13exclude_lines =
14 # Have to re-enable the standard pragma
15 pragma: no cover
16
17 # Don't complain about missing debug-only code:
18 def __repr__
19 if self\.debug
20
21 # Don't complain if tests don't hit defensive assertion code:
22 raise AssertionError
23 raise NotImplementedError
24
25 # Don't complain if non-runnable code isn't run:
26 if 0:
27 if __name__ == .__main__.:
28
29show_missing = True