diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..59e7020 --- /dev/null +++ b/.coveragerc @@ -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