CMAKE - Add cmake-format

Change-Id: I4036859491934ed26303530d0dc1afb4f1b0d0cd
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
This commit is contained in:
Galantsev, Dmitrii
2025-05-06 06:14:07 +00:00
committed by Galantsev, Dmitrii
parent 02c0786a2c
commit f89beb90f5
6 changed files with 380 additions and 0 deletions
+4
View File
@@ -17,6 +17,10 @@ repos:
hooks:
- id: clang-format-docker
- id: cpplint-docker
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
# Below is a local way of running formatters and linters
# NOTE: clang-tidy is not used in the above tests
# - repo: https://github.com/pocc/pre-commit-hooks