Skip to content

Commit 41ffc1d

Browse files
committed
Fix: PYI044 'from __future__ import annotations' has no effect in stub files, since type checkers automatically treat stubs as having those semantics
1 parent 9fc3fa8 commit 41ffc1d

4 files changed

Lines changed: 0 additions & 8 deletions

File tree

src/PIL/_imagingcms.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from typing import Any
42

53
def __getattr__(name: str) -> Any: ...

src/PIL/_imagingft.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from typing import Any
42

53
def __getattr__(name: str) -> Any: ...

src/PIL/_imagingmath.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from typing import Any
42

53
def __getattr__(name: str) -> Any: ...

src/PIL/_imagingmorph.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from typing import Any
42

53
def __getattr__(name: str) -> Any: ...

0 commit comments

Comments
 (0)