From cd811075aa6ea5150d6f87c3a965436c6144c8ca Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 Mar 2023 19:19:52 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E2=AC=86=EF=B8=8F=F0=9F=AA=9D=20update=20p?= =?UTF-8?q?re-commit=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-clang-format: v15.0.7 → v16.0.0](https://github.com/pre-commit/mirrors-clang-format/compare/v15.0.7...v16.0.0) --- .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 0df9e14bd..28e12a47c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -113,7 +113,7 @@ repos: # Clang-format the C++ part of the code base automatically - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v15.0.7" + rev: "v16.0.0" hooks: - id: clang-format types_or: [c++, c, cuda] From 7a0408b3832cd09e8f81d1dc0f9d70cda75e8c5d Mon Sep 17 00:00:00 2001 From: Lukas Burgholzer Date: Fri, 31 Mar 2023 10:52:59 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=A7=20disable=20clang-format=20and?= =?UTF-8?q?=20only=20check=20changed=20files=20in=20cpp-linter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cpp-linter.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml index 6cca6c6bb..48469a414 100644 --- a/.github/workflows/cpp-linter.yml +++ b/.github/workflows/cpp-linter.yml @@ -32,10 +32,10 @@ jobs: run: | pipx run cpp-linter \ --version=14 \ - --style="file" \ + --style="" \ --tidy-checks="" \ --thread-comments=true \ - --files-changed-only=false \ + --files-changed-only=true \ --ignore="build" \ --database=build - name: Fail if linter found errors