Skip to content

Commit 7fa622e

Browse files
Apply ruff rule RUF036
`None` not at the end of the type annotation.
1 parent fd2aca1 commit 7fa622e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blosc2/ndarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4352,7 +4352,7 @@ def __getitem__(
43524352

43534353
def __setitem__(
43544354
self,
4355-
key: None | int | slice | Sequence[slice | int | np.bool_ | np.ndarray[int | np.bool_] | None],
4355+
key: int | slice | Sequence[slice | int | np.bool_ | np.ndarray[int | np.bool_] | None] | None,
43564356
value: object,
43574357
):
43584358
"""Set a slice of the array.

0 commit comments

Comments
 (0)