cmake-lint, cmake-format CMake files

This commit is contained in:
Allen Winter
2022-07-09 09:11:17 -04:00
parent 6e5cfd70d1
commit 460b898bea
17 changed files with 574 additions and 553 deletions

View File

@@ -1,5 +1,6 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: ^(cmake/ECM|cmake/KDAB/)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
@@ -32,4 +33,6 @@ repos:
rev: v0.6.13
hooks:
- id: cmake-lint
exclude: (.py.cmake|Doxyfile.cmake)
- id: cmake-format
exclude: (.py.cmake|Doxyfile.cmake)