From 31768b96290f8c0cfd9c1c0211fcc6bfabb703f9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Sep 2025 17:43:51 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/biomejs/pre-commit: v2.2.3 → v2.2.4](https://github.com/biomejs/pre-commit/compare/v2.2.3...v2.2.4) - [github.com/pre-commit/mirrors-mypy: v1.17.1 → v1.18.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.17.1...v1.18.1) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 30a89d9..1d475d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,11 +18,11 @@ repos: hooks: - id: pyproject-fmt - repo: https://github.com/biomejs/pre-commit - rev: v2.2.3 + rev: v2.2.4 hooks: - id: biome-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.17.1 + rev: v1.18.1 hooks: - id: mypy args: [--config-file=pyproject.toml] From 6c350925f89899c1e161efee61f2b03b8ac674c9 Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Tue, 16 Sep 2025 11:22:50 +0200 Subject: [PATCH 2/2] mypy --- tests/test_stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_stats.py b/tests/test_stats.py index 2380c8d..c459475 100644 --- a/tests/test_stats.py +++ b/tests/test_stats.py @@ -296,7 +296,7 @@ def test_dask_constant_blocks(dask_viz: Callable[[object], None], array_type: Ar result = stats.is_constant(x, axis=None) dask_viz(result) - assert result.compute() is False + assert result.compute() is False # type: ignore[comparison-overlap] @pytest.mark.benchmark