Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 6a779d9

Browse files
committed
Switch from cmake-format to gersemi
1 parent 8407d73 commit 6a779d9

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

.cmake-format.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.gersemirc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
line_length: 80
2+
cache: true
3+
indent: 2
4+
quiet: true
5+
warn_about_unknown_commands: false
6+
workers: 8

.pre-commit-config.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,10 @@ repos:
3434
args: [--fix, --exit-non-zero-on-fix]
3535
# Run the formatter.
3636
- id: ruff-format
37-
- repo: https://github.com/cheshirekow/cmake-format-precommit
38-
rev: v0.6.13
37+
- repo: https://github.com/BlankSpruce/gersemi
38+
rev: 0.15.1
3939
hooks:
40-
- id: cmake-format
41-
additional_dependencies: [pyyaml>=5.1]
42-
- id: cmake-lint
43-
additional_dependencies: [pyyaml>=5.1]
40+
- id: gersemi
4441
- repo: https://github.com/Lucas-C/pre-commit-hooks
4542
rev: v1.5.5
4643
hooks:

0 commit comments

Comments
 (0)