From 5d90b3531aeaef38be49b48cd5ad8910551339ff Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 19:46:44 +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.3.10 → v2.5.0](https://github.com/biomejs/pre-commit/compare/v2.3.10...v2.5.0) - [github.com/tox-dev/pyproject-fmt: v2.11.1 → v2.25.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.11.1...v2.25.0) - [github.com/astral-sh/ruff-pre-commit: v0.14.14 → v0.15.18](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.14...v0.15.18) --- .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 f3021c8..eda29b6 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.3.10 + rev: v2.5.0 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.11.1 + rev: v2.25.0 hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.14 + rev: v0.15.18 hooks: - id: ruff-check types_or: [python, pyi, jupyter] From f1a3c407eeea4fbfb1250ba52ffdc8d9bc0ad1f5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 19:47:17 +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 | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a9bb2c8..fbcca2e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -100,9 +100,7 @@ doc = [ line-length = 120 src = [ "src" ] extend-include = [ "*.ipynb" ] - format.docstring-code-format = true - lint.select = [ "B", # flake8-bugbear "BLE", # flake8-blind-except @@ -136,19 +134,19 @@ lint.per-file-ignores."docs/*" = [ "I" ] lint.per-file-ignores."tests/*" = [ "D" ] lint.pydocstyle.convention = "numpy" -[tool.pytest.ini_options] -testpaths = [ "tests" ] -xfail_strict = true -addopts = [ +[tool.pytest] +ini_options.testpaths = [ "tests" ] +ini_options.addopts = [ "--import-mode=importlib", # allow using test files with same name ] +ini_options.xfail_strict = true -[tool.coverage.run] -source = [ "multigrate" ] -patch = [ "subprocess" ] -omit = [ +[tool.coverage] +run.omit = [ "**/test_*.py", ] +run.patch = [ "subprocess" ] +run.source = [ "multigrate" ] [tool.cruft] skip = [