Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#70)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jan 30, 2024
1 parent 52c5b6c commit 18a257a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 18a257a

Please sign in to comment.