chore: add cmake-format and cmake-lint to pre-commit checks
This commit is contained in:
parent
bcc4720b80
commit
49427ef8cd
@ -22,3 +22,9 @@ repos:
|
|||||||
- id: clang-format
|
- id: clang-format
|
||||||
- id: clang-tidy
|
- id: clang-tidy
|
||||||
args: [-p=build]
|
args: [-p=build]
|
||||||
|
|
||||||
|
- repo: https://github.com/cheshirekow/cmake-format-precommit
|
||||||
|
rev: v0.6.13
|
||||||
|
hooks:
|
||||||
|
- id: cmake-format
|
||||||
|
- id: cmake-lint
|
||||||
|
Reference in New Issue
Block a user