Skip to content

Commit f67c87d

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

xarray/core/duck_array_ops.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,9 @@ def allclose_or_equiv(arr1, arr2, rtol=1e-5, atol=1e-8):
317317
if lazy_equiv is None:
318318
with warnings.catch_warnings():
319319
warnings.filterwarnings("ignore", r"All-NaN (slice|axis) encountered")
320-
return bool(array_all(isclose(arr1, arr2, rtol=rtol, atol=atol, equal_nan=True)))
320+
return bool(
321+
array_all(isclose(arr1, arr2, rtol=rtol, atol=atol, equal_nan=True))
322+
)
321323
else:
322324
return lazy_equiv
323325

0 commit comments

Comments
 (0)