2017-03-05 07:38:18 +01:00
|
|
|
[report]
|
|
|
|
# Regexes for lines to exclude from consideration
|
|
|
|
exclude_lines =
|
|
|
|
# Re-enable the standard coverage pragma
|
|
|
|
pragma: no cover
|
2017-03-05 07:40:56 +01:00
|
|
|
# Don't complain if non-runnable code isn't run:
|
|
|
|
if False:
|
2017-03-05 07:47:22 +01:00
|
|
|
# Don't require coverage for base class NotImplementedErrors
|
|
|
|
raise NotImplementedError()
|
2017-03-05 07:51:35 +01:00
|
|
|
# Don't require coverage for Python 2/3 variations; it's impossible to cover on both
|
|
|
|
if six.PY3:
|
|
|
|
if six.PY2:
|
2017-03-05 07:38:18 +01:00
|
|
|
|
|
|
|
[run]
|
|
|
|
omit =
|
|
|
|
*/zulip-venv-cache/*
|
|
|
|
*/migrations/*
|
|
|
|
*/management/commands/*
|