Revision 571e62218196c788a051202db34d571e0e67c18b authored by Maria Khrustaleva on 06 December 2023, 15:46:31 UTC, committed by GitHub on 06 December 2023, 15:46:31 UTC
Since rq Job.fetch_many
(https://github.com/rq/rq/blob/d11094af95188c197a5e11b1c4fa05b000485370/rq/job.py#L604)
can return `None` we must explicitly check that job exists.
1 parent 67b80c2
Raw File
.coveragerc
[run]
branch = true

source =
    cvat/apps/
    cvat-sdk/
    cvat-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