diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-09 18:09:09 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-09 18:09:09 +0100 |
commit | d87dd6e7797088b57f9636e07d57fc67e0471e24 (patch) | |
tree | 6d1fe492b9fc196d25844f01acc6305dba2ba230 | |
parent | 161894652a0b811eb86388d58d59c14850f3a324 (diff) | |
parent | de7133ee07d43aa3076076611bbad57638465a39 (diff) | |
download | redot-engine-d87dd6e7797088b57f9636e07d57fc67e0471e24.tar.gz |
Merge pull request #87000 from akx/pre-commit-clang-format-ignore-fix
Add `tests/python_build` to clang-format pre-commit hook ignore list
-rwxr-xr-x | misc/hooks/pre-commit-clang-format | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/hooks/pre-commit-clang-format b/misc/hooks/pre-commit-clang-format index e5cf0c4aa2..eddbc59364 100755 --- a/misc/hooks/pre-commit-clang-format +++ b/misc/hooks/pre-commit-clang-format @@ -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 |