Skip to content

Commit 1de228a

Browse files
Apply ruff/flake8-pyi rule PYI041
PYI041 Use `float` instead of `int | float`
1 parent 5d1acd1 commit 1de228a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/core/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ async def _create_v2(
276276
dtype: npt.DTypeLike,
277277
chunks: ChunkCoords,
278278
dimension_separator: Literal[".", "/"] | None = None,
279-
fill_value: None | int | float = None,
279+
fill_value: None | float = None,
280280
order: Literal["C", "F"] | None = None,
281281
filters: list[dict[str, JSON]] | None = None,
282282
compressor: dict[str, JSON] | None = None,

0 commit comments

Comments
 (0)