salt/.coveragerc
Pedro Algarvio e8115ec126 Fix onedir code coverage collection and reporting
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-26 20:57:49 +01:00

78 lines
1.6 KiB
INI

[run]
branch = True
cover_pylib = False
parallel = True
concurrency = multiprocessing
relative_files = True
omit =
setup.py
.nox/*
source =
pkg
salt
tests
tools
[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__
# 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 False:
if __name__ == .__main__.:
ignore_errors = True
[paths]
salt =
salt/
artifacts/salt/lib/python3.*/site-packages/salt
**/testing/salt/
**\testing\salt
tests =
tests/
**/testing/tests/
**\testing\tests
extension_modules =
tests/integration/files/extension_modules/
*/extension_modules/
*\extension_modules\
executors =
tests/integration/files/file/base/_executors/
*/extmods/executors/
*\extmods\executors\
grains =
tests/integration/files/file/base/_grains/
*/extmods/grains/
*\extmods\grains\
modules =
tests/integration/files/file/base/_modules/
*/extmods/modules/
*\extmods\modules\
renderers =
tests/integration/files/file/base/_renderers/
*/extmods/renderers/
*\extmods\renderers\
runners =
tests/integration/files/file/base/_runners/
*/extmods/runners/
*\extmods\runners\
states =
tests/integration/files/file/base/_states/
*/extmods/states/
*\extmods\states\
wheel =
tests/integration/files/file/base/_wheel/
*/extmods/wheel/
*\extmods\wheel\