Skip to content

Commit

Permalink
Exclude __main__.py from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Feb 24, 2024
1 parent 04f9975 commit bf7d11c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ omit =
pypinfo/keygen.py

[report]
exclude_lines =
pragma: no cover
exclude_also =
if __name__ == .__main__.:

[run]
omit =
**/pypinfo/__main__.py

0 comments on commit bf7d11c

Please sign in to comment.