Merge pull request #87000 from akx/pre-commit-clang-format-ignore-fix

Add `tests/python_build` to clang-format pre-commit hook ignore list
This commit is contained in:
Rémi Verschelde 2024-02-09 18:09:09 +01:00
commit d87dd6e779
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 3 additions and 0 deletions

View File

@ -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