summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2022-06-01 17:30:35 -0400
committerAllen Winter <allen.winter@kdab.com>2022-06-01 17:30:35 -0400
commitab8c10c88b987e756e746b63f1a7b29668a338bd (patch)
treef930218690f867f3dfbff8db3cbb0676bc30ed02 /.pre-commit-config.yaml
parent61ecac16f68c7c7c1459e1ebf708edb91c373586 (diff)
downloadlibical-git-ab8c10c88b987e756e746b63f1a7b29668a338bd.tar.gz
pre-commit-config.yaml - add cmake-lint hook
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6c956eb6..e41c34c1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -22,3 +22,9 @@ repos:
rev: v2.1.0
hooks:
- id: codespell
+repos:
+ - repo: https://github.com/cheshirekow/cmake-format-precommit
+ rev: v0.6.13
+ hooks:
+ - id: cmake-lint
+ exclude: cmake/Toolchain-*