Skip to content

Commit 6b366de

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 82cb8b9 commit 6b366de

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

xarray/coding/variables.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,7 @@ def encode(self, variable: Variable, name: T_Name = None):
428428
# XXX: Is this actually needed? Doesn't the backend handle this?
429429
signed_dtype = np.dtype(f"i{dtype.itemsize}")
430430
data = duck_array_ops.view(
431-
duck_array_ops.astype(duck_array_ops.around(data), signed_dtype),
432-
dtype
431+
duck_array_ops.astype(duck_array_ops.around(data), signed_dtype), dtype
433432
)
434433
attrs["_FillValue"] = fill_value
435434

0 commit comments

Comments
 (0)