From 63d9eecd2a67098f153b113df4ee09b0b3d87a5b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 20:52:14 +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.4.7 → v2.5.2](https://github.com/biomejs/pre-commit/compare/v2.4.7...v2.5.2) - [github.com/tox-dev/pyproject-fmt: v2.19.0 → v2.25.1](https://github.com/tox-dev/pyproject-fmt/compare/v2.19.0...v2.25.1) - [github.com/astral-sh/ruff-pre-commit: v0.15.6 → v0.15.20](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.6...v0.15.20) --- .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 cac19ee..c7982e6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,16 +7,16 @@ default_stages: minimum_pre_commit_version: 2.16.0 repos: - repo: https://github.com/biomejs/pre-commit - rev: v2.4.7 + rev: v2.5.2 hooks: - id: biome-format exclude: ^\.cruft\.json$ # inconsistent indentation with cruft - file never to be modified manually. - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.19.0 + rev: v2.25.1 hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.6 + rev: v0.15.20 hooks: - id: ruff-check types_or: [python, pyi, jupyter] From aeb24f3e21fa7b98334fc6265208ea1a272903f8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 20:52:23 +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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 265ea68..68b3994 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,11 +70,10 @@ doc = [ envs.default.installer = "uv" envs.default.dependency-groups = [ "dev" ] envs.docs.installer = "uv" -envs.docs.dependency-groups = [ "doc" ] envs.docs.scripts.build = "sphinx-build -M html docs docs/_build {args}" -envs.docs.scripts.open = "python -m webbrowser -t docs/_build/html/index.html" envs.docs.scripts.clean = "git clean -fdX -- {args:docs}" -envs.hatch-test.dependency-groups = [ "dev", "test" ] +envs.docs.scripts.open = "python -m webbrowser -t docs/_build/html/index.html" +envs.docs.dependency-groups = [ "doc" ] envs.hatch-test.matrix = [ # Test the lowest and highest supported Python versions with normal deps { deps = [ "stable" ], python = [ "3.11", "3.14" ] }, @@ -84,8 +83,9 @@ envs.hatch-test.matrix = [ # If the matrix variable `deps` is set to "pre", # set the environment variable `UV_PRERELEASE` to "allow". envs.hatch-test.overrides.matrix.deps.env-vars = [ - { key = "UV_PRERELEASE", value = "allow", if = [ "pre" ] }, + { value = "allow", key = "UV_PRERELEASE", if = [ "pre" ] }, ] +envs.hatch-test.dependency-groups = [ "dev", "test" ] [tool.ruff] line-length = 120 @@ -126,11 +126,11 @@ lint.per-file-ignores."tests/*" = [ "D" ] lint.pydocstyle.convention = "numpy" [tool.pytest] -strict = true -testpaths = [ "tests" ] addopts = [ "--import-mode=importlib", # allow using test files with same name ] +strict = true +testpaths = [ "tests" ] [tool.coverage] run.omit = [