Revision e33db5c2c2b3ee03a992f97b418e20cc026fa767 authored by Nikita Manovich on 04 March 2022, 16:53:02 UTC, committed by GitHub on 04 March 2022, 16:53:02 UTC
2 parent s 967b0fe + 8aaa450
Raw File
.coveragerc
[run]
branch = true
# relative_files = true # does not work?

source =
    cvat/apps/
    utils/cli/
    utils/dataset_manifest

omit =
    cvat/settings/*
    */tests/*
    */test_*
    */_test_*
    */migrations/*

[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\s+[\w\.()]+\.isEnabledFor\(log\.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__.:

# don't fail on the code that can be found
ignore_errors = true

skip_empty = true
back to top