From 6c7e3ee8606942bc9bc913a8e96c37c32abe6e83 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 2 Dec 2025 18:06:04 -0500 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#2680) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.6 → v0.14.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.6...v0.14.7) - [github.com/pre-commit/mirrors-mypy: v1.18.2 → v1.19.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.18.2...v1.19.0) * chore: update for newer mypy Signed-off-by: Henry Schreiner --------- Signed-off-by: Henry Schreiner Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner --- .pre-commit-config.yaml | 8 ++++---- docs/main.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a67e8141..5b979940 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,14 +14,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.6 + rev: v0.14.7 hooks: - id: ruff-check args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.18.2 + rev: v1.19.0 hooks: - id: mypy name: mypy 3.11 on cibuildwheel/ @@ -49,8 +49,8 @@ repos: - uv - validate-pyproject - id: mypy - name: mypy 3.13 - args: ["--python-version=3.13"] + name: mypy 3.14 + args: ["--python-version=3.14"] additional_dependencies: *mypy-dependencies - repo: https://github.com/shellcheck-py/shellcheck-py diff --git a/docs/main.py b/docs/main.py index 11556dec..f8dc1125 100644 --- a/docs/main.py +++ b/docs/main.py @@ -11,7 +11,7 @@ import rich.text def define_env(env: Any) -> None: "Hook function for mkdocs-macros" - @env.macro # type: ignore[misc] + @env.macro # type: ignore[untyped-decorator] def subprocess_run(*args: str) -> str: "Run a subprocess and return the stdout" env = os.environ.copy()