.coveragerc: add report section

This will allow for "raise NotImplementedError" to indicate code not to
be covered in tests etc.
This commit is contained in:
Daniel Hahler 2019-08-15 23:59:09 +02:00
parent 44c10dbd5f
commit 4c37dca011
1 changed files with 8 additions and 0 deletions

View File

@ -16,3 +16,11 @@ source = src/
*/lib/python*/site-packages/
*/pypy*/site-packages/
*\Lib\site-packages\
[report]
skip_covered = True
show_missing = True
exclude_lines =
\#\s*pragma: no cover
^\s*raise NotImplementedError\b
^\s*return NotImplemented\b