2018-12-26 13:32:33 +00:00
|
|
|
[run]
|
|
|
|
source = passbook
|
|
|
|
omit =
|
|
|
|
*/wsgi.py
|
|
|
|
manage.py
|
|
|
|
*/migrations/*
|
|
|
|
*/apps.py
|
|
|
|
passbook/management/commands/web.py
|
|
|
|
passbook/management/commands/worker.py
|
|
|
|
docs/
|
|
|
|
|
|
|
|
[report]
|
|
|
|
sort = Cover
|
|
|
|
skip_covered = True
|
|
|
|
precision = 2
|
|
|
|
exclude_lines =
|
|
|
|
pragma: no cover
|
|
|
|
|
|
|
|
# Don't complain about missing debug-only code:
|
|
|
|
def __unicode__
|
|
|
|
def __str__
|
|
|
|
def __repr__
|
|
|
|
if self\.debug
|
2019-10-14 15:08:24 +01:00
|
|
|
if TYPE_CHECKING
|
2018-12-26 13:32:33 +00:00
|
|
|
|
|
|
|
# Don't complain if tests don't hit defensive assertion code:
|
|
|
|
raise AssertionError
|
|
|
|
raise NotImplementedError
|
|
|
|
|
|
|
|
# Don't complain if non-runnable code isn't run:
|
|
|
|
if 0:
|
|
|
|
if __name__ == .__main__.:
|
|
|
|
|
|
|
|
show_missing = True
|