From 743b663c3a59be18305a0eb06f3cfb5b629e1512 Mon Sep 17 00:00:00 2001 From: Wassim KABALAN Date: Tue, 30 Apr 2024 22:58:51 +0200 Subject: [PATCH] Exclude cudecomp and pybind from clang-format pre-commit --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 75959b6..c7141cd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,4 +19,6 @@ repos: rev: v18.1.4 hooks: - id: clang-format + files: '\.(c|cc|cpp|h|hpp|cxx|hh|cu|cuh)$' + exclude: '^third_party/|/pybind11/' name: clang-format