Skip to content

Commit 4973ce0

Browse files
Apply ruff/flake8-pie rule PIE790
PIE790 Unnecessary `pass` statement PIE790 Unnecessary `...` literal
1 parent 35cee54 commit 4973ce0

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/zarr/abc/codec.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ def validate(self, *, shape: ChunkCoords, dtype: np.dtype[Any], chunk_grid: Chun
106106
chunk_grid : ChunkGrid
107107
The array chunk grid
108108
"""
109-
...
110109

111110
async def _decode_single(self, chunk_data: CodecOutput, chunk_spec: ArraySpec) -> CodecInput:
112111
raise NotImplementedError

src/zarr/abc/metadata.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,5 @@ def from_dict(cls, data: dict[str, JSON]) -> Self:
4242
"""
4343
Create an instance of the model from a dictionary
4444
"""
45-
...
4645

4746
return cls(**data)

tests/test_codecs/test_codecs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def test_sharding_pickle() -> None:
5656
"""
5757
Test that sharding codecs can be pickled
5858
"""
59-
pass
6059

6160

6261
@pytest.mark.parametrize("store", ["local", "memory"], indirect=["store"])

0 commit comments

Comments
 (0)