From ebbb9edfb8b7e3dc2b2e3e258ddb9dd659a67a19 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Wed, 21 Feb 2024 23:44:34 +0100 Subject: [PATCH] ci: pre-commit autoupdate and add C++ hook Signed-off-by: Matej Focko --- .pre-commit-config.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 318933b..1767d99 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,14 +2,16 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - repo: https://github.com/mfocko/pre-commit-hooks - rev: main + rev: 1.0.0 hooks: - id: rust-fmt files: \.rs$ + - id: clang-format + files: \.cpp$