Skip to content

Commit

Permalink
Merge pull request #87000 from akx/pre-commit-clang-format-ignore-fix
Browse files Browse the repository at this point in the history
Add `tests/python_build` to clang-format pre-commit hook ignore list
  • Loading branch information
akien-mga committed Feb 9, 2024
2 parents 1618946 + de7133e commit d87dd6e
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 d87dd6e

Please sign in to comment.