Skip to content

Commit

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

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.3.5](astral-sh/ruff-pre-commit@v0.2.0...v0.3.5)
- [github.com/psf/black: 24.1.1 → 24.3.0](psf/black@24.1.1...24.3.0)
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](pre-commit/mirrors-mypy@v1.8.0...v1.9.0)

* [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 Apr 3, 2024
1 parent 70a0a9a commit 61a1623
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ repos:
- id: text-unicode-replacement-char

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.2.0"
rev: "v0.3.5"
hooks:
- id: ruff
args: ["--fix"]

- repo: https://github.com/psf/black
rev: 24.1.1
rev: 24.3.0
hooks:
- id: black
additional_dependencies: [toml]
- id: black-jupyter
additional_dependencies: [toml]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.8.0'
rev: 'v1.9.0'
hooks:
- id: mypy
args:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_simple_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def add_reduceat(w, indices, axis=0, dtype=None, out=None):
# ---------------------------------------------------------
# Assists a function

stack_funcs = {np.vstack, np.hstack, np.dstack, np.column_stack, np.row_stack}
stack_funcs = {np.vstack, np.hstack, np.dstack, np.column_stack, np.vstack}


@NP_OVERLOADS.assists(stack_funcs, types=Wrap1, dispatch_on=Wrap1)
Expand Down

0 comments on commit 61a1623

Please sign in to comment.