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 9, 2024
1 parent 8df2047 commit f269d63
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .gersemirc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
line_length: 80
cache: true
indent: 2
quiet: true
warn_about_unknown_commands: false
workers: 8
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 f269d63

Please sign in to comment.