2017-03-05 07:38:18 +01:00
|
|
|
[report]
|
|
|
|
# Regexes for lines to exclude from consideration
|
|
|
|
exclude_lines =
|
|
|
|
# Re-enable the standard coverage pragma
|
2017-03-05 08:01:50 +01:00
|
|
|
nocoverage
|
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 08:01:50 +01:00
|
|
|
# Don't require coverage for test suite AssertionError -- they're usually for clarity
|
|
|
|
raise AssertionError
|
2017-10-27 09:06:40 +02:00
|
|
|
# Don't require coverage for __str__ statements just used for printing
|
|
|
|
def __str__[(]self[)]:
|
2017-03-05 07:38:18 +01:00
|
|
|
|
|
|
|
[run]
|
|
|
|
omit =
|
|
|
|
*/zulip-venv-cache/*
|
|
|
|
*/migrations/*
|
|
|
|
*/management/commands/*
|
2017-07-05 23:40:55 +02:00
|
|
|
# Parts of the test runner infrastructure
|
2017-05-30 00:30:47 +02:00
|
|
|
tools/test-backend
|
|
|
|
zerver/lib/test_fixtures.py
|
|
|
|
zerver/lib/test_runner.py
|
2017-07-05 23:40:55 +02:00
|
|
|
# Excluded because its coverage state is flaky.
|
|
|
|
zerver/tornado/ioloop_logging.py
|
|
|
|
# Zulip's library for use in scripts
|
2017-05-30 00:30:47 +02:00
|
|
|
scripts/lib/zulip_tools.py
|