Add a config for Coverage.py (#679)

This commit is contained in:
Sviatoslav Sydorenko 2021-11-05 16:34:37 +01:00 committed by GitHub
parent d3be2a1d84
commit fba75a1a72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
.coveragerc Normal file
View File

@ -0,0 +1,25 @@
[paths]
source =
proxy
*/proxy
.tox/*/lib/python*/site-packages/proxy
[report]
skip_covered = true
show_missing = true
exclude_lines =
\#\s*pragma: no cover
^\s*raise AssertionError\b
^\s*raise NotImplementedError\b
^\s*return NotImplemented\b
^\s*raise$
^if __name__ == ['"]__main__['"]:$
[run]
branch = true
cover_pylib = false
parallel = true
relative_files = true
source =
proxy
tests