diff --git a/peprock/datetime/period.py b/peprock/datetime/period.py index cacd561..02c2ad3 100644 --- a/peprock/datetime/period.py +++ b/peprock/datetime/period.py @@ -38,9 +38,9 @@ import sys if sys.version_info >= (3, 11): - from typing import Self + from typing import Self # pragma: no cover else: - from typing_extensions import Self + from typing_extensions import Self # pragma: no cover @dataclasses.dataclass(frozen=True) diff --git a/pyproject.toml b/pyproject.toml index 0a037d7..7158339 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,6 @@ changelog_incremental = true [tool.coverage.report] exclude_also = [ "@abc\\.abstractmethod$", - "@typing\\.overload$", "^if typing\\.TYPE_CHECKING:$", ]