Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #70

Merged
merged 2 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
Expand Down
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
Loading