Skip to content

Commit 5592104

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/array.py

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

0 commit comments

Comments
 (0)