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()