Skip to content

Commit

Permalink
Introduce test coverage threshold
Browse files Browse the repository at this point in the history
Enforce a total coverage of 40% of the code.

Related #1097
  • Loading branch information
MattHag authored and pfps committed Oct 8, 2024
1 parent c1bc39f commit 454e160
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ exclude_lines =
pragma: no cover
if __name__ == '__main__':
if typing.TYPE_CHECKING

fail_under = 40

0 comments on commit 454e160

Please sign in to comment.