Skip to content

Commit

Permalink
Switch from dead cmake-format to gersemi
Browse files Browse the repository at this point in the history
Resolves #719
  • Loading branch information
ManifoldFR committed Oct 16, 2024
1 parent d280ff2 commit 2521a1e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .gersemirc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
line_length: 80
cache: true
indent: 2
quiet: true
warn_about_unknown_commands: false
workers: 8
list_expansion: favour-inlining
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ repos:
args:
- --fix
- id: ruff-format
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
- repo: https://github.com/BlankSpruce/gersemi
rev: 0.15.1
hooks:
- id: cmake-format
- id: gersemi
exclude: |
(?x)^(
.*\.(h|hh|pc|py)\.cmake|
Expand Down

0 comments on commit 2521a1e

Please sign in to comment.