From cab7c66b4fcf35b09ea8fbc4c3c1a9272e92d997 Mon Sep 17 00:00:00 2001 From: Rob Armstrong Date: Thu, 1 May 2025 10:17:42 -0700 Subject: [PATCH] Update pre-config to include Python and JSON for EOL, whitespace checks --- .pre-commit-config.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0388a904..8c83f2a7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,9 @@ repos: .*\.hpp$| .*\.h$| .*\.cu$| - .*\.cuh$ + .*\.cuh$| + .*\.py$| + .*\.json$ ) - id: mixed-line-ending exclude: | @@ -53,7 +55,9 @@ repos: .*\.hpp$| .*\.h$| .*\.cu$| - .*\.cuh$ + .*\.cuh$| + .*\.py$| + .*\.json$ ) - id: trailing-whitespace exclude: | @@ -74,7 +78,9 @@ repos: .*\.hpp$| .*\.h$| .*\.cu$| - .*\.cuh$ + .*\.cuh$| + .*\.py$| + .*\.json$ ) - repo: https://github.com/pre-commit/mirrors-clang-format rev: v19.1.6