Introduce test coverage threshold

Enforce a total coverage of 40% of the code.

Related #1097
This commit is contained in:
MattHag 2024-09-19 01:20:11 +02:00 committed by Peter F. Patel-Schneider
parent c1bc39f99f
commit 454e1601bd
1 changed files with 2 additions and 0 deletions

View File

@ -18,3 +18,5 @@ exclude_lines =
pragma: no cover
if __name__ == '__main__':
if typing.TYPE_CHECKING
fail_under = 40