diff options
-rw-r--r-- | .pre-commit-config.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..e52e423 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,15 @@ +# Copyright (c) 2023 Arm Limited. +# SPDX-License-Identifier: Apache-2.0 + +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: +- repo: local + hooks: + - id: clang-format + name: clang-format + exclude: build|third_party + language: system + entry: clang-format + types: ["c++"] + args: ["-i"] |