Merge in RR/pyinfra from multiple_consumer_fix to master
Squashed commit of the following:
commit b2892d2f21c90e4ebc9a48718ab0a834bf65fc32
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Thu Apr 21 17:38:11 2022 +0200
formatting
commit 57b3be627caf3c6a87ec248036b7258e9063709d
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Thu Apr 21 17:36:05 2022 +0200
removed debug print
commit 41db74b9103b55fd6f6d79b27a654042f86c86ea
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Thu Apr 21 17:35:05 2022 +0200
reintroduced usage for basic_consume. Normal consume was blocking other consumers, but basic_consume is not easily testable.
59 lines
1.0 KiB
INI
59 lines
1.0 KiB
INI
# .coveragerc to control coverage.py
|
|
[run]
|
|
branch = True
|
|
omit =
|
|
*/site-packages/*
|
|
*/distutils/*
|
|
*/test/*
|
|
*/__init__.py
|
|
*/setup.py
|
|
*/venv/*
|
|
*/env/*
|
|
*/build_venv/*
|
|
*/build_env/*
|
|
*/utils/banner.py
|
|
*/utils/logger.py
|
|
source =
|
|
pyinfra
|
|
src
|
|
relative_files = True
|
|
data_file = .coverage
|
|
|
|
[report]
|
|
# Regexes for lines to exclude from consideration
|
|
exclude_lines =
|
|
# Have to re-enable the standard pragma
|
|
pragma: no cover
|
|
|
|
# Don't complain about missing debug-only code:
|
|
def __repr__
|
|
if self\.debug
|
|
|
|
# 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__.:
|
|
omit =
|
|
*/site-packages/*
|
|
*/distutils/*
|
|
*/test/*
|
|
*/__init__.py
|
|
*/setup.py
|
|
*/venv/*
|
|
*/env/*
|
|
*/build_venv/*
|
|
*/build_env/*
|
|
*/utils/banner.py
|
|
*/utils/logger.py
|
|
|
|
ignore_errors = True
|
|
|
|
[html]
|
|
directory = reports
|
|
|
|
[xml]
|
|
output = reports/coverage.xml
|