Skip to content

Commit 599eefc

Browse files
committed
other ruff fixes
1 parent 1e37dd2 commit 599eefc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_metadata/test_v3.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from zarr.core.buffer import default_buffer_prototype
1212
from zarr.core.chunk_key_encodings import DefaultChunkKeyEncoding, V2ChunkKeyEncoding
1313
from zarr.core.config import config
14-
from zarr.core.group import parse_node_type, GroupMetadata
14+
from zarr.core.group import GroupMetadata, parse_node_type
1515
from zarr.core.metadata.v3 import (
1616
ArrayV3Metadata,
1717
DataType,
@@ -305,11 +305,12 @@ def test_metadata_to_dict(
305305
assert observed == expected
306306

307307

308-
@pytest.mark.parametrize('indent', [2, 4, None])
308+
@pytest.mark.parametrize("indent", [2, 4, None])
309309
def test_json_indent(indent: int):
310310
with config.set({"json_indent": indent}):
311311
m = GroupMetadata()
312312
d = m.to_buffer_dict(default_buffer_prototype())["zarr.json"].to_bytes()
313+
313314
class TestIndentEncoder(json.JSONEncoder):
314315
def __init__(self, *args: Any, **kwargs: Any) -> None:
315316
super().__init__(*args, **kwargs)

0 commit comments

Comments
 (0)