Skip to content

Commit d5176d6

Browse files
ci: pre-commit autoupdate (#163)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Phil Schaf <flying-sheep@web.de>
1 parent baebce9 commit d5176d6

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ repos:
66
- id: trailing-whitespace
77
- id: no-commit-to-branch
88
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.15.8
9+
rev: v0.15.9
1010
hooks:
1111
- id: ruff-check
1212
args: [--fix, --exit-non-zero-on-fix]
1313
- id: ruff-check
1414
args: [--preview, --select=CPY]
1515
- id: ruff-format
1616
- repo: https://github.com/tox-dev/pyproject-fmt
17-
rev: v2.20.0
17+
rev: v2.21.0
1818
hooks:
1919
- id: pyproject-fmt
2020
- repo: https://github.com/biomejs/pre-commit
21-
rev: v2.4.9
21+
rev: v2.4.10
2222
hooks:
2323
- id: biome-format
2424
- repo: https://github.com/pre-commit/mirrors-mypy
25-
rev: v1.19.1
25+
rev: v1.20.0
2626
hooks:
2727
- id: mypy
2828
args: [--config-file=pyproject.toml, .]

src/fast_array_utils/stats/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def _normalize_axis(axis: ComplexAxis, ndim: int) -> Literal[0, 1] | None:
9090
case (0, 1) | (1, 0):
9191
axis = None
9292
case _: # pragma: no cover
93-
raise AxisError(axis, ndim) # type: ignore[call-overload]
93+
raise AxisError(axis, ndim)
9494
if axis == 0 and ndim == 1:
9595
return None # dask’s aggregate doesn’t know we don’t accept `axis=0` for 1D arrays
9696
return axis

0 commit comments

Comments
 (0)