Skip to content

Commit 0de7761

Browse files
[pre-commit.ci] pre-commit autoupdate (#7959)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.275 → v0.0.276](astral-sh/ruff-pre-commit@v0.0.275...v0.0.276) * [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> Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com>
1 parent 4a79b32 commit 0de7761

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
files: ^xarray/
1717
- repo: https://github.com/charliermarsh/ruff-pre-commit
1818
# Ruff version.
19-
rev: 'v0.0.275'
19+
rev: 'v0.0.276'
2020
hooks:
2121
- id: ruff
2222
args: ["--fix"]

xarray/core/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8648,7 +8648,7 @@ def argmax(self: T_Dataset, dim: Hashable | None = None, **kwargs) -> T_Dataset:
86488648
... )
86498649
86508650
# Indices of the maximum values along the 'student' dimension are calculated
8651-
8651+
86528652
>>> argmax_indices = dataset.argmax(dim="test")
86538653
86548654
>>> argmax_indices

0 commit comments

Comments
 (0)