Skip to content

Commit

Permalink
Add cmakelint to pre-commit (#331)
Browse files Browse the repository at this point in the history
* add cmakelint

* linelength 120
  • Loading branch information
egecetin authored Oct 3, 2024
1 parent 19303d5 commit 35e4890
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .cmakelintrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
filter=-whitespace/indent,-readability/wonkycase,-convention/filename,-package/stdargs
linelength=120
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ repos:
hooks:
- id: detect-secrets
exclude: tests/data/config.json
- repo: https://github.com/cmake-lint/cmake-lint
rev: 1.4.3
hooks:
- id: cmakelint
- repo: https://github.com/BlankSpruce/gersemi
rev: 0.15.1
hooks:
Expand Down

0 comments on commit 35e4890

Please sign in to comment.