Skip to content

Commit 3ed9523

Browse files
[pre-commit.ci] pre-commit autoupdate (#229)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.246 → v0.0.260](astral-sh/ruff-pre-commit@v0.0.246...v0.0.260) - [github.com/psf/black: 23.1.0 → 23.3.0](psf/black@23.1.0...23.3.0) - [github.com/nbQA-dev/nbQA: 1.6.1 → 1.7.0](nbQA-dev/nbQA@1.6.1...1.7.0) - [github.com/codespell-project/codespell: v2.2.2 → v2.2.4](codespell-project/codespell@v2.2.2...v2.2.4) - [github.com/abravalheri/validate-pyproject: v0.12.1 → v0.12.2](abravalheri/validate-pyproject@v0.12.1...v0.12.2) * Fix typos --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: dcherian <[email protected]>
1 parent 24dc7fd commit 3ed9523

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44
repos:
55
- repo: https://github.com/charliermarsh/ruff-pre-commit
66
# Ruff version.
7-
rev: 'v0.0.246'
7+
rev: 'v0.0.260'
88
hooks:
99
- id: ruff
1010
args: ["--fix"]
@@ -18,7 +18,7 @@ repos:
1818
- id: check-docstring-first
1919

2020
- repo: https://github.com/psf/black
21-
rev: 23.1.0
21+
rev: 23.3.0
2222
hooks:
2323
- id: black
2424

@@ -31,7 +31,7 @@ repos:
3131
- mdformat-myst
3232

3333
- repo: https://github.com/nbQA-dev/nbQA
34-
rev: 1.6.1
34+
rev: 1.7.0
3535
hooks:
3636
- id: nbqa-black
3737
- id: nbqa-ruff
@@ -44,13 +44,13 @@ repos:
4444
args: [--extra-keys=metadata.kernelspec metadata.language_info.version]
4545

4646
- repo: https://github.com/codespell-project/codespell
47-
rev: v2.2.2
47+
rev: v2.2.4
4848
hooks:
4949
- id: codespell
5050
additional_dependencies:
5151
- tomli
5252

5353
- repo: https://github.com/abravalheri/validate-pyproject
54-
rev: v0.12.1
54+
rev: v0.12.2
5555
hooks:
5656
- id: validate-pyproject

flox/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def rechunk_for_cohorts(
354354
def rechunk_for_blockwise(array: DaskArray, axis: T_Axis, labels: np.ndarray) -> DaskArray:
355355
"""
356356
Rechunks array so that group boundaries line up with chunk boundaries, allowing
357-
embarassingly parallel group reductions.
357+
embarrassingly parallel group reductions.
358358
359359
This only works when the groups are sequential
360360
(e.g. labels = ``[0,0,0,1,1,1,1,2,2]``).

flox/xarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ def rechunk_for_cohorts(
534534
def rechunk_for_blockwise(obj: T_DataArray | T_Dataset, dim: str, labels: T_DataArray):
535535
"""
536536
Rechunks array so that group boundaries line up with chunk boundaries, allowing
537-
embarassingly parallel group reductions.
537+
embarrassingly parallel group reductions.
538538
539539
This only works when the groups are sequential
540540
(e.g. labels = ``[0,0,0,1,1,1,1,2,2]``).

0 commit comments

Comments
 (0)