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 Jan 29, 2024
1 parent 58084b2 commit a9379c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/create_test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ def _arr(value, chunks, order):
arr = arr + noise

if land_mask:
arr[
multi_indices[0], multi_indices[1], :
] = np.nan # add NaNs to mimic land mask
arr[multi_indices[0], multi_indices[1], :] = (
np.nan
) # add NaNs to mimic land mask
if use_xr:
arr = xr.DataArray(arr)
if chunks:
Expand Down

0 comments on commit a9379c8

Please sign in to comment.