From 1488fff965f13b6ac4b7f9b7639fea2af6486e63 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 17:49:49 +0000 Subject: [PATCH 1/2] ci: pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.6 → v0.15.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.6...v0.15.7) - [github.com/tox-dev/pyproject-fmt: v2.18.1 → v2.20.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.18.1...v2.20.0) - [github.com/biomejs/pre-commit: v2.4.7 → v2.4.8](https://github.com/biomejs/pre-commit/compare/v2.4.7...v2.4.8) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8e6294c..b057381 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: - id: trailing-whitespace - id: no-commit-to-branch - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.6 + rev: v0.15.7 hooks: - id: ruff-check args: [--fix, --exit-non-zero-on-fix] @@ -14,11 +14,11 @@ repos: args: [--preview, --select=CPY] - id: ruff-format - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.18.1 + rev: v2.20.0 hooks: - id: pyproject-fmt - repo: https://github.com/biomejs/pre-commit - rev: v2.4.7 + rev: v2.4.8 hooks: - id: biome-format - repo: https://github.com/pre-commit/mirrors-mypy From 3818fc61c04ea71d8109327bba6081a7b9009fd4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 17:50:34 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fd9457f..4bc0160 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -137,6 +137,17 @@ lint.isort.lines-after-imports = 2 lint.pydocstyle.convention = "numpy" lint.future-annotations = true +[tool.mypy] +strict = true +# https://github.com/dask/dask/issues/8853 +implicit_reexport = true +explicit_package_bases = true +mypy_path = [ "$MYPY_CONFIG_FILE_DIR/typings", "$MYPY_CONFIG_FILE_DIR/src" ] + +[tool.pyright] +stubPath = "./typings" +reportPrivateUsage = false + [tool.pytest] strict = true addopts = [ @@ -169,14 +180,3 @@ run.omit = [ "src/testing/*", "tests/*" ] report.exclude_also = [ "@numba[.]njit", "[.]{3}", "if TYPE_CHECKING:" ] html.directory = "test-data/htmlcov" xml.output = "test-data/coverage.xml" - -[tool.mypy] -strict = true -# https://github.com/dask/dask/issues/8853 -implicit_reexport = true -explicit_package_bases = true -mypy_path = [ "$MYPY_CONFIG_FILE_DIR/typings", "$MYPY_CONFIG_FILE_DIR/src" ] - -[tool.pyright] -stubPath = "./typings" -reportPrivateUsage = false