chore: add cmake-format and cmake-lint to pre-commit checks
This commit is contained in:
parent
bcc4720b80
commit
49427ef8cd
1 changed files with 6 additions and 0 deletions
|
@ -22,3 +22,9 @@ repos:
|
|||
- id: clang-format
|
||||
- id: clang-tidy
|
||||
args: [-p=build]
|
||||
|
||||
- repo: https://github.com/cheshirekow/cmake-format-precommit
|
||||
rev: v0.6.13
|
||||
hooks:
|
||||
- id: cmake-format
|
||||
- id: cmake-lint
|
||||
|
|
Loading…
Reference in a new issue