From 468cb6b1a63c5e837aa26a1ff1995469d1b53ef0 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 17:57:29 +0000 Subject: [PATCH] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-mypy: v1.20.2 → v2.1.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.20.2...v2.1.0) - [github.com/numpy/numpydoc: v1.10.0 → v1.11.0rc0](https://github.com/numpy/numpydoc/compare/v1.10.0...v1.11.0rc0) - [github.com/astral-sh/ruff-pre-commit: v0.15.12 → v0.15.20](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.12...v0.15.20) - [github.com/scientific-python/cookie: 2025.11.21 → 2026.06.18](https://github.com/scientific-python/cookie/compare/2025.11.21...2026.06.18) - [github.com/abravalheri/validate-pyproject: v0.24.1 → v0.25](https://github.com/abravalheri/validate-pyproject/compare/v0.24.1...v0.25) - [github.com/zizmorcore/zizmor-pre-commit: v1.25.2 → v1.26.1](https://github.com/zizmorcore/zizmor-pre-commit/compare/v1.25.2...v1.26.1) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fb2347dd00..fa85d2bce6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -73,7 +73,7 @@ repos: additional_dependencies: [tomli] - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.20.2' + rev: 'v2.1.0' hooks: - id: mypy additional_dependencies: @@ -81,14 +81,14 @@ repos: exclude: 'noxfile\.py|docs/src/conf\.py' - repo: https://github.com/numpy/numpydoc - rev: v1.10.0 + rev: v1.11.0rc0 hooks: - id: numpydoc-validation exclude: "^lib/iris/tests/|docs/gallery_code/" types: [file, python] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.12" + rev: "v0.15.20" hooks: - id: ruff-check types: [file, python] @@ -103,7 +103,7 @@ repos: types: [file, python] - repo: https://github.com/scientific-python/cookie - rev: 2025.11.21 + rev: 2026.06.18 hooks: - id: sp-repo-review additional_dependencies: ["repo-review[cli]"] @@ -111,11 +111,11 @@ repos: - repo: https://github.com/abravalheri/validate-pyproject # More exhaustive than Ruff RUF200. - rev: "v0.24.1" + rev: "v0.25" hooks: - id: validate-pyproject - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: v1.25.2 + rev: v1.26.1 hooks: - id: zizmor