Skip to content

Commit

Permalink
Add tests/python_build to clang-format pre-commit hook ignore list
Browse files Browse the repository at this point in the history
It had been ignored by misc/scripts/clang_format.sh since 388d35b but not the hook.
  • Loading branch information
akx committed Jan 9, 2024
1 parent 2ccc5c7 commit de7133e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions misc/hooks/pre-commit-clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ do
if grep -q "\-so_wrap." <<< $file; then
continue;
fi
if grep -q "tests/python_build" <<< $file; then
continue;
fi

# ignore file if we do check for file extensions and the file
# does not match any of the extensions specified in $FILE_EXTS
Expand Down

0 comments on commit de7133e

Please sign in to comment.