.coveragerc 504 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 10
    # cannot run tests for files that are generated and updated automatically
    */models_auto.py
11 12 13 14 15 16 17
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__.:
18
    except ModuleNotFoundError:
19 20
ignore_errors = True
show_missing = True