diff options
author | Aarni Koskela <akx@iki.fi> | 2024-01-09 14:40:31 +0200 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2024-01-09 16:07:22 +0200 |
commit | de7133ee07d43aa3076076611bbad57638465a39 (patch) | |
tree | f49b533cff0aac48313fb02a46b20750924897b8 /misc/hooks | |
parent | 2ccc5c75758f9db41858b28edd4e968693db7e8a (diff) | |
download | redot-engine-de7133ee07d43aa3076076611bbad57638465a39.tar.gz |
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.
Diffstat (limited to 'misc/hooks')
-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 |