diff --git a/pyproject.toml b/pyproject.toml index 477ecfff..f694b48b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,6 +68,13 @@ Documentation = "https://glass.readthedocs.io/" Homepage = "https://github.com/glass-dev/glass" Issues = "https://github.com/glass-dev/glass/issues" +[tool.coverage] +report = {exclude_also = [ + "if TYPE_CHECKING:", +], omit = [ + "glass/_version.py", +]} + [tool.hatch] build.hooks.vcs.version-file = "glass/_version.py" version.source = "vcs"