check: enable cmake-format in pre-commit
This commit is contained in:
1 parent
70586138d9
commit
fbe2e686eb
1 file changed
+8
-7
@@ -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/.*"
|
||||
Reference in new issue
Block a user