Fix: PYI044 'from __future__ import annotations' has no effect in stub files, since type checkers automatically treat stubs as having those semantics

This commit is contained in:
Hugo van Kemenade 2024-02-04 18:49:46 +02:00
parent 9fc3fa8208
commit 41ffc1de81
4 changed files with 0 additions and 8 deletions

View File

@ -1,5 +1,3 @@
from __future__ import annotations
from typing import Any
def __getattr__(name: str) -> Any: ...

View File

@ -1,5 +1,3 @@
from __future__ import annotations
from typing import Any
def __getattr__(name: str) -> Any: ...

View File

@ -1,5 +1,3 @@
from __future__ import annotations
from typing import Any
def __getattr__(name: str) -> Any: ...

View File

@ -1,5 +1,3 @@
from __future__ import annotations
from typing import Any
def __getattr__(name: str) -> Any: ...