瀏覽代碼

Add tests/python_build to clang-format pre-commit hook ignore list

It had been ignored by misc/scripts/clang_format.sh since 388d35b74d8919b251faae9e24af50476f12b1a2 but not the hook.
Aarni Koskela 1 年之前
父節點
當前提交
de7133ee07
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      misc/hooks/pre-commit-clang-format

+ 3 - 0
misc/hooks/pre-commit-clang-format

@@ -140,6 +140,9 @@ do
     if grep -q "\-so_wrap." <<< $file; then
     if grep -q "\-so_wrap." <<< $file; then
         continue;
         continue;
     fi
     fi
+    if grep -q "tests/python_build" <<< $file; then
+          continue;
+    fi
 
 
     # ignore file if we do check for file extensions and the file
     # ignore file if we do check for file extensions and the file
     # does not match any of the extensions specified in $FILE_EXTS
     # does not match any of the extensions specified in $FILE_EXTS