From 8835532890d0c132918b1fd6951c7f094f95b6fe Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Thu, 14 Apr 2022 09:21:22 -0500 Subject: [PATCH] Update settings. --- .pre-commit-config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a6152a36083..be24ccdfd8f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -60,7 +60,9 @@ repos: rev: v11.1.0 hooks: - id: clang-format - types_or: [c, c++, cuda, header, inl] + files: \.(cu|cuh|h|hpp|cpp|inl)$ + types_or: [file] + args: ['-fallback-style=none', '-style=file', '-i'] - repo: local hooks: - id: cmake-format