Skip to content

Commit 118bc28

Browse files
Apply ruff/flake8-pyi rule PYI036
PYI036 Returning Any from function
1 parent 1a885cc commit 118bc28

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/v3/conftest.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
from zarr.store.remote import RemoteStore
1515

1616
if TYPE_CHECKING:
17-
from collections.abc import Generator, Iterator
18-
from types import ModuleType
17+
from collections.abc import Generator
1918
from typing import Any, Literal
2019

2120
from _pytest.compat import LEGACY_PATH
@@ -99,7 +98,7 @@ async def async_group(request: pytest.FixtureRequest, tmpdir: LEGACY_PATH) -> As
9998

10099

101100
@pytest.fixture(params=["numpy", "cupy"])
102-
def xp(request: pytest.FixtureRequest) -> Iterator[ModuleType]:
101+
def xp(request: pytest.FixtureRequest) -> Any:
103102
"""Fixture to parametrize over numpy-like libraries"""
104103

105104
if request.param == "cupy":

0 commit comments

Comments
 (0)