Skip to content

Commit 31d3057

Browse files
committed
fix accidental reformat
1 parent ad78bac commit 31d3057

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

xarray/core/duck_array_ops.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ def isnull(data):
191191
dtype = xp.bool_ if hasattr(xp, "bool_") else xp.bool
192192
return full_like(data, dtype=dtype, fill_value=False)
193193
# at this point, array should have dtype=object
194-
elif isinstance(data, np.ndarray) or pd.api.types.is_extension_array_dtype(data): # noqa: TID251
194+
elif isinstance(data, np.ndarray) or pd.api.types.is_extension_array_dtype(
195+
data
196+
): # noqa: TID251
195197
return pandas_isnull(data)
196198
else:
197199
# Not reachable yet, but intended for use with other duck array

0 commit comments

Comments
 (0)