Skip to content

Commit 7adaa40

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

xarray/structure/merge.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,9 @@ def merge_attrs(variable_attrs, combine_attrs, context=None):
655655
# Suppress DeprecationWarning about ambiguous truth values
656656
# since we handle the resulting ValueError appropriately
657657
with warnings.catch_warnings():
658-
warnings.filterwarnings("ignore", category=DeprecationWarning)
658+
warnings.filterwarnings(
659+
"ignore", category=DeprecationWarning
660+
)
659661
if equivalent(attrs[key], value):
660662
# Values are equivalent, keep the attribute
661663
filtered_result[key] = value

0 commit comments

Comments
 (0)