Skip to content

Commit

Permalink
refactor: 🚚 switch to tool table config for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ringohoffman committed Nov 24, 2023
1 parent b406b57 commit b623730
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .coveragerc

This file was deleted.

11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ markers = [
"sandbox_test: fake integration tests",
]

[tool.coverage.report]
exclude_also = [
"def __repr__",
"pragma: no cover",
"if __name__ == .__main__.:",
"if (typing\\.)?TYPE_CHECKING:",
"@(typing\\.)?overload",
"@(abc\\.)?abstractmethod",
"raise NotImplementedError",
]

[tool.coverage.run]
branch = true

Expand Down

0 comments on commit b623730

Please sign in to comment.