Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 19, 2024
1 parent c152ca3 commit 6c1dd95
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xarray/core/missing.py
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,10 @@ def _interpnd(

# Convert everything to Variables, since that makes applying
# `_localize` and `_floatize_x` much easier
x = [Variable([f"dim_{nconst + dim}"], _x, fastpath=True) for dim, _x in enumerate(coords[:n_x])]
x = [
Variable([f"dim_{nconst + dim}"], _x, fastpath=True)
for dim, _x in enumerate(coords[:n_x])
]
new_x = list(
broadcast_variables(
*(
Expand Down

0 comments on commit 6c1dd95

Please sign in to comment.