CMAKE - Use gersemi instead of cmake-format (#772)

cmake-format has been unmaintained for 4+ years now. Please use gersemi
instead.

See RDC changes where we adopted gersemi:
- <https://github.com/ROCm/rdc/commit/680b7a8dd8699ab5264f10f5a3bc0b30410881be>
- <https://github.com/ROCm/rdc/commit/40545dcb49ebcfa0a6fe040a8862cf8b338ad6b5>

Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
This commit is contained in:
Dmitrii
2025-09-10 18:09:02 -05:00
zatwierdzone przez GitHub
rodzic 35629e433d
commit 8cb6278f32
+4 -4
Wyświetl plik
@@ -28,8 +28,8 @@ repos:
entry: clang-format -i -style=file
files: '\.(c|cpp|cc|h|hpp|m|mm)$'
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.10
- repo: https://github.com/BlankSpruce/gersemi
# gersemi replaces cmake-format and cmake-lint
rev: 0.22.1
hooks:
- id: cmake-format
- id: cmake-lint
- id: gersemi