From 452e3c54eb78ba47f0a3ef9d23e7fbb50127622b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 18:04:42 +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/astral-sh/ruff-pre-commit: v0.15.14 → v0.15.15](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.14...v0.15.15) - [github.com/tox-dev/pyproject-fmt: v2.21.2 → v2.23.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.21.2...v2.23.0) - [github.com/biomejs/pre-commit: v2.4.15 → v2.4.16](https://github.com/biomejs/pre-commit/compare/v2.4.15...v2.4.16) --- .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 f33d849..e28bcff 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: - id: trailing-whitespace - id: end-of-file-fixer - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.14 + rev: v0.15.15 hooks: - id: ruff-check args: [--fix] @@ -13,11 +13,11 @@ repos: args: [--preview, --select=CPY] - id: ruff-format - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.21.2 + rev: v2.23.0 hooks: - id: pyproject-fmt - repo: https://github.com/biomejs/pre-commit - rev: v2.4.15 + rev: v2.4.16 hooks: - id: biome-format - repo: https://github.com/kynan/nbstripout From 482a7a2ba2e109b4ae47c0b2e2bb13ea96dd1eb0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 18:08:35 +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 | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cd8b67f..ec38faf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,23 +61,23 @@ notebook = [ ] [tool.hatch] +version.source = "vcs" +metadata.hooks.docstring-description = {} envs.default.installer = "uv" -envs.docs.dependency-groups = [ "docs" ] envs.docs.scripts.build = "sphinx-build -W --keep-going -b html docs docs/_build/html {args}" -envs.docs.scripts.open = "python3 -m webbrowser -t docs/_build/html/index.html" envs.docs.scripts.clean = "git clean -fdX -- {args:docs}" -envs.hatch-test.default-args = [] -envs.hatch-test.dependency-groups = [ "test" ] +envs.docs.scripts.open = "python3 -m webbrowser -t docs/_build/html/index.html" +envs.docs.dependency-groups = [ "docs" ] envs.hatch-test.extra-dependencies = [ "pyinstrument" ] +envs.hatch-test.matrix = [ { python = [ "3.14", "3.10" ], deps = [ "all", "min" ] } ] envs.hatch-test.overrides.matrix.deps.features = [ - { if = [ "all" ], value = "jupyter" }, + { value = "jupyter", if = [ "all" ] }, ] -envs.hatch-test.matrix = [ { python = [ "3.14", "3.10" ], deps = [ "all", "min" ] } ] -envs.notebook.dependency-groups = [ "notebook" ] +envs.hatch-test.default-args = [] +envs.hatch-test.dependency-groups = [ "test" ] envs.notebook.extra-dependencies = [ "ipykernel" ] envs.notebook.scripts.install-kernel = "python -m ipykernel install --user --name=session-info2 --display-name=session-info2 --env COLUMNS 110" -metadata.hooks.docstring-description = {} -version.source = "vcs" +envs.notebook.dependency-groups = [ "notebook" ] [tool.ruff] lint.select = [ "ALL" ] @@ -120,24 +120,24 @@ lint.pylint.max-args = 7 lint.pylint.max-positional-args = 3 [tool.mypy] -strict = true -explicit_package_bases = true mypy_path = [ "$MYPY_CONFIG_FILE_DIR/stubs", "$MYPY_CONFIG_FILE_DIR/src" ] +explicit_package_bases = true +strict = true [tool.pyright] stubPath = "./stubs" reportPrivateUsage = false [tool.pytest] -strict = true addopts = [ "--import-mode=importlib" ] -asyncio_mode = "auto" asyncio_default_fixture_loop_scope = "session" +asyncio_mode = "auto" filterwarnings = [ "error", "ignore:Jupyter is migrating its paths:DeprecationWarning", "ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:dateutil", ] +strict = true [tool.coverage] run.branch = true