diff --git a/pyproject.toml b/pyproject.toml index 97901a73df..36ca94ab62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -373,30 +373,9 @@ strict = true warn_unreachable = true enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool", "truthy-iterable"] +# TODO: fix the type errors in these modules and remove them from this list [[tool.mypy.overrides]] module = [ - "tests.package_with_entrypoint.*", - "zarr.testing.stateful", - "tests.test_codecs.test_transpose", - "tests.test_config", - "tests.test_store.test_zip", - "tests.test_store.test_local", - "tests.test_store.test_memory", - "tests.test_codecs.test_codecs", - "tests.test_metadata.*", - "tests.test_store.test_core", - "tests.test_store.test_logging", - "tests.test_store.test_object", - "tests.test_store.test_stateful", - "tests.test_store.test_wrapper", -] -strict = false - -# TODO: Move the next modules up to the strict = false section -# and fix the errors -[[tool.mypy.overrides]] -module = [ - "tests.test_store.test_fsspec", "tests.test_group", "tests.test_indexing", "tests.test_properties", diff --git a/tests/test_store/test_fsspec.py b/tests/test_store/test_fsspec.py index f26a6f316a..faea1caf0f 100644 --- a/tests/test_store/test_fsspec.py +++ b/tests/test_store/test_fsspec.py @@ -488,7 +488,7 @@ async def test_fsspec_store_list_nested_via_reference_filesystem(path: str) -> N ] group = await zarr.api.asynchronous.open_group(store, mode="r") - subgroup = await group.getitem("a") + subgroup = await group.get_group("a") assert [name async for name in subgroup.group_keys()] == ["b"]