Skip to content

Commit 651ff3a

Browse files
committed
add gersemi to pre-commit hooks for CMake formatting like black
1 parent 98ea2f6 commit 651ff3a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ repos:
3333
- id: codespell
3434
additional_dependencies: [tomli]
3535

36+
- repo: https://github.com/BlankSpruce/gersemi
37+
rev: 0.18.2
38+
hooks:
39+
- id: gersemi
40+
args: ["-i", "--no-warn-about-unknown-commands", "-l", "120"]
41+
3642
- repo: local
3743
hooks:
3844
- id: copyright-headers

0 commit comments

Comments
 (0)