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