From 9f705d5e31fdec099f7d2e070126ab5ea35f9269 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 14 Aug 2026 04:51:24 +0000 Subject: [PATCH] Update pre-commit hooks --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 45b2231b8d..fd0fe5006d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ exclude: "^.*/_vendor/" repos: # ruff with --fix should run before other formatting tools - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.1.15" + rev: "v0.16.3" hooks: # Run the linter. - id: "ruff" @@ -17,14 +17,14 @@ repos: - id: ruff-format - repo: "https://github.com/pre-commit/mirrors-clang-format" - rev: "v17.0.6" + rev: "v22.1.8" hooks: - id: "clang-format" exclude: "^src/cocotb/share/include/(sv_vpi|vhpi|vpi)_user(_ext)?.h" types_or: [c, c++] - repo: "https://github.com/pre-commit/pre-commit-hooks" - rev: "v4.5.0" + rev: "v6.0.0" hooks: - id: "trailing-whitespace" - id: "mixed-line-ending"