.coveragerc 520 Bytes
Newer Older
1 2 3 4 5 6 7 8
# .coveragerc to control coverage.py
[run]
branch = False
concurrency = multiprocessing
cover_pylib = False
omit =
    */site-packages/*
    */migrations/*
9
    # cannot run tests for files that are generated and updated automatically
10
    */openapi/*
11
    */models_auto.py
12 13 14 15 16 17 18
parallel = True

[report]
# Regexes for lines to exclude from consideration
exclude_lines =
    # Don't complain if non-runnable code isn't run:
    if __name__ == .__main__.:
19
    except ModuleNotFoundError:
20 21
ignore_errors = True
show_missing = True