diff --git a/pyproject.toml b/pyproject.toml index 7c9e908..f619e95 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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:" +]