check: enable cmake-format in pre-commit

This commit is contained in:
Markus Hofbauer
2022-04-01 16:28:14 +02:00
parent 70586138d9
commit fbe2e686eb
+8 -7
View File
@@ -10,10 +10,11 @@ repos:
# rev: v1.3.5
# hooks:
# - id: clang-format
# - repo: https://github.com/cheshirekow/cmake-format-precommit
# rev: v0.6.13
# hooks:
# - id: cmake-format
# additional_dependencies: ["cmakelang"]
# - id: cmake-lint
# additional_dependencies: ["cmakelang"]
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
additional_dependencies: ["cmakelang"]
# - id: cmake-lint
# additional_dependencies: ["cmakelang"]
# exclude: "cmake/.*"