blob: 4854234740059d8b4cc8031f2bdb6e40ee035f29 [file] [log] [blame]
Mitja Nikolaus940c0352018-08-29 12:31:57 +02001[run]
2branch = True
Franz-Xaver Geiger03462062018-09-20 17:41:27 +02003source = .
Mitja Nikolaus940c0352018-08-29 12:31:57 +02004omit =
5 */migrations/*
6 */tests.py
Mitja Nikolaus03e412b2018-09-18 17:50:15 +02007 */tests/*
Mitja Nikolaus940c0352018-08-29 12:31:57 +02008 .tox/*
9 .venv/*
10 manage.py
11
12[report]
13# Regexes for lines to exclude from consideration
14exclude_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
30show_missing = True