Skip to content

Commit b6ee9c9

Browse files
committed
ignore new ruff rule
1 parent 4cffa5b commit b6ee9c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/xarray_regrid/methods/conservative.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def conservative_regrid_dataset(
119119
# Create weights array and coverage mask for each regridding dim
120120
weights = {}
121121
covered = {}
122-
for coord in coords:
122+
for coord in coords: # noqa: PLC0206
123123
covered[coord] = (coords[coord] <= data[coord].max()) & (
124124
coords[coord] >= data[coord].min()
125125
)
@@ -137,7 +137,7 @@ def conservative_regrid_dataset(
137137
weights[coord] = da_weights
138138

139139
# Apply the weights, using a unique set that matches chunking of each array
140-
for array in data_vars.keys():
140+
for array in data_vars.keys(): # noqa: PLC0206
141141
var_weights = {}
142142
for coord, weight_array in weights.items():
143143
var_input_chunks = data_vars[array].chunksizes.get(coord)

0 commit comments

Comments
 (0)