Skip to content

Commit afe6828

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

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
@@ -294,7 +294,7 @@ async def _create_v2(
294294
dtype: npt.DTypeLike,
295295
chunks: ChunkCoords,
296296
dimension_separator: Literal[".", "/"] | None = None,
297-
fill_value: None | int | float = None,
297+
fill_value: None | float = None,
298298
order: Literal["C", "F"] | None = None,
299299
filters: list[dict[str, JSON]] | None = None,
300300
compressor: dict[str, JSON] | None = None,

0 commit comments

Comments
 (0)