Update pre-commit hook to run clang-format only on C/C++ files

Change-Id: I6e17429272ddaf4c375f3e89d7db5043b5c29d6c
Signed-off-by: Fufu Fang <fufu.fang@arm.com>
This commit is contained in:
Fufu Fang 2024-08-07 16:38:58 +01:00
parent 4423a52816
commit bdf564b077

View file

@ -8,6 +8,7 @@ repos:
rev: v14.0.0
hooks:
- id: clang-format
types_or: [c, c++]
- repo: local
hooks: