Skip to content

Commit 943da8d

Browse files
committed
lint
1 parent 21d9dc7 commit 943da8d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/zarr/core/buffer/cpu.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,9 @@ def create(
154154
order: Literal["C", "F"] = "C",
155155
fill_value: Any | None = None,
156156
) -> Self:
157-
ret = cls(np.full(shape=tuple(shape), fill_value=fill_value or 0, dtype=dtype, order=order))
158-
return ret
157+
return cls(
158+
np.full(shape=tuple(shape), fill_value=fill_value or 0, dtype=dtype, order=order)
159+
)
159160

160161
@classmethod
161162
def from_numpy_array(cls, array_like: npt.ArrayLike) -> Self:

0 commit comments

Comments
 (0)