From 9650fa1ce3162ae59ea2017fa26ce207f562006e Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 28 Aug 2026 14:18:10 +0100 Subject: [PATCH] Freeze pre-commit hook revisions --- .pre-commit-config.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index da1708ab17ee..3444cf8bd4db 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v6.0.0 + rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -11,7 +11,8 @@ repos: args: [--fix=lf] - id: check-case-conflict - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.20 # must match requirements-tests.txt + # The Ruff version must match requirements-tests.txt. + rev: c59bba8fb259db0fec2bbb77ad8ba51ea7341b56 # frozen: v0.15.20 hooks: - id: ruff name: Run ruff on stubs, tests and scripts @@ -27,11 +28,11 @@ repos: - "--unsafe-fixes" files: '.*test_cases/.+\.py$' - repo: https://github.com/psf/black-pre-commit-mirror - rev: 26.5.1 + rev: 4160603246a6b365d4a2af661c6d71b0a0f50478 # frozen: 26.5.1 hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: 7.3.0 + rev: c48217e1fc006c2dddd14df54e83b67da15de5cd # frozen: 7.3.0 hooks: - id: flake8 language: python