From 61a162370787fa347f3f7cb5decab7707b640adc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 3 Apr 2024 01:08:16 -0400 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#61) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.3.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.0...v0.3.5) - [github.com/psf/black: 24.1.1 → 24.3.0](https://github.com/psf/black/compare/24.1.1...24.3.0) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/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> --- .pre-commit-config.yaml | 6 +++--- tests/integration/test_simple_wrapper.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 92c731f..2228434 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,13 +35,13 @@ 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] @@ -49,7 +49,7 @@ repos: additional_dependencies: [toml] - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.8.0' + rev: 'v1.9.0' hooks: - id: mypy args: diff --git a/tests/integration/test_simple_wrapper.py b/tests/integration/test_simple_wrapper.py index fd7014b..0658869 100644 --- a/tests/integration/test_simple_wrapper.py +++ b/tests/integration/test_simple_wrapper.py @@ -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)