Skip to content

Commit bac994d

Browse files
committed
ignore mypy errors properly
1 parent 420ca07 commit bac994d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/conftest.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737

3838

3939
async def parse_store(
40-
store: str, path: str, s3: s3fs.S3FileSystem
40+
store: str,
41+
path: str,
42+
s3: s3fs.S3FileSystem, # type: ignore[name-defined]
4143
) -> LocalStore | MemoryStore | RemoteStore | ZipStore:
4244
"""
4345
Take a string representation of a store + access mode, e.g. 'local_a', which would encode
@@ -81,7 +83,9 @@ async def store_path(tmpdir: LEGACY_PATH) -> StorePath:
8183

8284
@pytest.fixture
8385
async def store(
84-
request: pytest.FixtureRequest, tmpdir: LEGACY_PATH, s3: s3fs.S3FileSystem
86+
request: pytest.FixtureRequest,
87+
tmpdir: LEGACY_PATH,
88+
s3: s3fs.S3FileSystem, # type: ignore[name-defined]
8589
) -> Store:
8690
param = request.param
8791
return await parse_store(param, str(tmpdir), s3)

0 commit comments

Comments
 (0)