added coveragerc

This commit is contained in:
Oliver Zander 2025-08-19 14:52:31 +02:00 committed by Tobias Herre
parent eaddabbcdd
commit b5a0fbde98
1 changed files with 23 additions and 0 deletions

23
.coveragerc Normal file
View File

@ -0,0 +1,23 @@
[run]
branch = on
source = input
omit =
# ignore the tests itself
*/test*.py
*/tests/*.py
# ignore wsgi & asgi
*/?sgi.py
[report]
include =
input/*
exclude_lines =
pragma: no cover
raise NotImplementedError
omit =
# they are excluded in run, so
# doesn't need to be reported
*/test*.py
*/tests/*.py
*/?sgi.py