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 pwr-Solaar#1097
  • Loading branch information
MattHag committed Sep 25, 2024
1 parent 7b4d93a commit 37f4be1
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 37f4be1

Please sign in to comment.