Skip to content

Commit

Permalink
Ignore __main__ in code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
berrydenhartog committed Apr 19, 2024
1 parent dfed724 commit 53486d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_project/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ def main() -> int:
return 0


if __name__ == "__main__":
if __name__ == "__main__": # pragma: no cover
sys.exit(main())

0 comments on commit 53486d1

Please sign in to comment.