Skip to content

Commit

Permalink
Exclude coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyue Ping Ong committed Aug 1, 2023
1 parent e47fcb2 commit 3b80d99
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,22 @@ ignore_missing_imports = true
[tool.codespell]
ignore-words-list = "mater,te,nd"
check-filenames = true

[tool.coverage.run]
relative_files = true

[tool.coverage.report]
exclude_lines = [
"@deprecated",
"def __repr__",
"if 0:",
"if __name__ == .__main__.:",
"if self.debug:",
"if settings.DEBUG",
"pragma: no cover",
"raise AssertionError",
"raise NotImplementedError",
"input",
"if TYPE_CHECKING:",
"except PackageNotFoundError:"
]

0 comments on commit 3b80d99

Please sign in to comment.