Skip to content

Commit 5d37d02

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 41ffc1d commit 5d37d02

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

src/PIL/_imaging.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/_webp.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)