Skip to content

Commit c7fd9a7

Browse files
committed
Update .pre-commit-config.yaml
fix cmake-lint config
1 parent 8b3b7e1 commit c7fd9a7

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.pre-commit-config.yaml

+7-6
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
repos:
1616
# Standard hooks
1717
- repo: https://github.com/pre-commit/pre-commit-hooks
18-
rev: v4.6.0
18+
rev: v5.0.0
1919
hooks:
2020
- id: check-added-large-files
2121
- id: check-case-conflict
@@ -33,7 +33,7 @@ repos:
3333
- id: trailing-whitespace
3434

3535
- repo: https://github.com/psf/black
36-
rev: 24.8.0
36+
rev: 24.10.0
3737
hooks:
3838
- id: black
3939

@@ -54,10 +54,11 @@ repos:
5454
exclude: CHANGELOG.rst
5555

5656
- repo: https://github.com/cheshirekow/cmake-format-precommit
57-
rev: v0.6.11
57+
rev: v0.6.13
5858
hooks:
5959
- id: cmake-format
6060
- id: cmake-lint
61-
args:
62-
- "--disabled-codes=C0301" # Disable Line too long lint
63-
- "--suppress-decorations"
61+
args: [--disabled-codes=C0301, # Disable Line too long lint
62+
--disabled-codes=C0307, # Disable Bad indentation
63+
--suppress-decorations
64+
]

0 commit comments

Comments
 (0)