mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-10-24 20:51:16 +03:00
More typey lint
This commit is contained in:
parent
13e4e587e6
commit
b4fe17cecf
|
|
@ -17,9 +17,12 @@ from .helper import (
|
|||
TYPE_CHECKING = False
|
||||
if TYPE_CHECKING:
|
||||
from arro3 import compute # type: ignore [import-not-found]
|
||||
|
||||
# type: ignore [import-not-found]
|
||||
from arro3.core import Array, DataType, Field, fixed_size_list_array
|
||||
from arro3.core import ( # type: ignore [import-not-found]
|
||||
Array,
|
||||
DataType,
|
||||
Field,
|
||||
fixed_size_list_array,
|
||||
)
|
||||
else:
|
||||
arro3 = pytest.importorskip("arro3", reason="Arro3 not installed")
|
||||
from arro3 import compute
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ from .helper import (
|
|||
|
||||
TYPE_CHECKING = False
|
||||
if TYPE_CHECKING:
|
||||
import nanoarrow # type: ignore [import-untyped]
|
||||
import nanoarrow # type: ignore [import-not-found]
|
||||
else:
|
||||
nanoarrow = pytest.importorskip("nanoarrow", reason="Nanoarrow not installed")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user