Removed no cover pragmas

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
Andrew Murray 2024-02-10 21:57:59 +11:00 committed by GitHub
parent 68db96981c
commit d02a778efd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -217,7 +217,7 @@ if hasattr(core, "DEFAULT_STRATEGY"):
# Registries
if TYPE_CHECKING:
from . import ImageFile # pragma: no cover
from . import ImageFile
ID: list[str] = []
OPEN: dict[
str,
@ -2890,7 +2890,7 @@ class ImageTransformHandler:
image: Image,
**options: dict[str, str | int | tuple[int, ...] | list[int]],
) -> Image:
pass # pragma: no cover
pass
# --------------------------------------------------------------------
@ -3653,7 +3653,7 @@ atexit.register(core.clear_cache)
if TYPE_CHECKING:
_ExifBase = MutableMapping[int, Any] # pragma: no cover
_ExifBase = MutableMapping[int, Any]
else:
_ExifBase = MutableMapping

View File

@ -246,7 +246,7 @@ class PdfArray(List[Any]):
if TYPE_CHECKING:
_DictBase = collections.UserDict[Union[str, bytes], Any] # pragma: no cover
_DictBase = collections.UserDict[Union[str, bytes], Any]
else:
_DictBase = collections.UserDict

View File

@ -476,7 +476,7 @@ def _register_basic(idx_fmt_name):
if TYPE_CHECKING:
_IFDv2Base = MutableMapping[int, Any] # pragma: no cover
_IFDv2Base = MutableMapping[int, Any]
else:
_IFDv2Base = MutableMapping