Skip to content

Commit

Permalink
✅ Exclude __name__ from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilbadyal committed Sep 23, 2023
1 parent 93248c6 commit 64b08c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,6 @@ show_missing=true
sort="-Stmts"
omit = ["test/**"]
exclude_lines = [
'if TYPE_CHECKING:'
'if TYPE_CHECKING:',
'if __name__ == "__main__":'
]

0 comments on commit 64b08c5

Please sign in to comment.