aboutsummaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 55d630f..4b4af7a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -26,10 +26,19 @@ repos:
- repo: local
hooks:
+ - id: regenerate-headers
+ name: regenerate-headers
+ language: system
+ entry: ./regenerate_headers.sh
+ pass_filenames: false
+ always_run: true
+
+- repo: local
+ hooks:
- id: clang-format
name: clang-format
exclude: tosa_generated.h|build|third_party
language: system
entry: clang-format
types: ["c++"]
- args: ["-i"] \ No newline at end of file
+ args: ["-i"]