diff --git a/.gersemirc b/.gersemirc new file mode 100644 index 00000000..760c7bb9 --- /dev/null +++ b/.gersemirc @@ -0,0 +1,6 @@ +line_length: 80 +cache: true +indent: 2 +quiet: true +warn_about_unknown_commands: false +workers: 8 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b575a2d5..482fd96c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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|