Skip to content

Commit 2c318b3

Browse files
committed
fix accidental reformat
1 parent 250f6a5 commit 2c318b3

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

xarray/core/duck_array_ops.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -276,14 +276,10 @@ def as_shared_dtype(scalars_or_arrays, xp=None):
276276
isinstance(x, type(extension_array_types[0])) for x in extension_array_types
277277
):
278278
return [
279-
(
280-
x
281-
if not isna(x)
282-
else PandasExtensionArray(
283-
type(non_nans[0].array)._from_sequence(
284-
[x], dtype=non_nans[0].dtype
285-
)
286-
)
279+
x
280+
if not isna(x)
281+
else PandasExtensionArray(
282+
type(non_nans[0].array)._from_sequence([x], dtype=non_nans[0].dtype)
287283
)
288284
for x in scalars_or_arrays
289285
]

0 commit comments

Comments
 (0)