From 5d37d028d31dc6aea6ee64c61c9870df94d75040 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sat, 23 Mar 2024 20:44:43 +0200 Subject: [PATCH] Fix: PYI044 'from __future__ import annotations' has no effect in stub files, since type checkers automatically treat stubs as having those semantics --- src/PIL/_imaging.pyi | 2 -- src/PIL/_webp.pyi | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/PIL/_imaging.pyi b/src/PIL/_imaging.pyi index b0235555d..e27843e53 100644 --- a/src/PIL/_imaging.pyi +++ b/src/PIL/_imaging.pyi @@ -1,5 +1,3 @@ -from __future__ import annotations - from typing import Any def __getattr__(name: str) -> Any: ... diff --git a/src/PIL/_webp.pyi b/src/PIL/_webp.pyi index b0235555d..e27843e53 100644 --- a/src/PIL/_webp.pyi +++ b/src/PIL/_webp.pyi @@ -1,5 +1,3 @@ -from __future__ import annotations - from typing import Any def __getattr__(name: str) -> Any: ...