diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000..a4f49cf5f --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,14 @@ +repos: + - repo: https://github.com/cheshirekow/cmake-format-precommit + rev: v0.6.13 + hooks: + - id: cmake-format + - id: cmake-format + name: cmake-format (templates) + types: [file] + files: \.cmake\.in$ + - id: cmake-lint + - id: cmake-lint + name: cmake-lint (templates) + types: [file] + files: \.cmake\.in$