From cddb6b1e2f948e2684a1c76068f130947f840fe4 Mon Sep 17 00:00:00 2001 From: mosfet80 Date: Tue, 4 Jul 2023 19:00:04 +0200 Subject: [PATCH 1/2] Update .pre-commit-config.yaml update pre-commit and switch to clang-format-11 --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7010b55..aca0042 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: # Standard hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v4.4.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -32,7 +32,7 @@ repos: - id: clang-format name: clang-format description: Format files with ClangFormat. - entry: clang-format-10 + entry: clang-format-11 language: system files: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|js|m|proto|vert)$ args: ['-fallback-style=none', '-i'] From 8524a8f5d40624a795c54dcb58cfa95cd8ee8dae Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Tue, 4 Jul 2023 19:53:22 +0200 Subject: [PATCH 2/2] clang-format-14 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aca0042..938f87a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: - id: clang-format name: clang-format description: Format files with ClangFormat. - entry: clang-format-11 + entry: clang-format-14 language: system files: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|js|m|proto|vert)$ args: ['-fallback-style=none', '-i']