Commits


Sutou Kouhei authored and GitHub committed 555ce5c667c
GH-40544: [Dev] Add cmake-format configuration to pre-commit (#40545) ### Rationale for this change We can maintain cmake-format related configuration by just listing target files and excluded files in YAML instead of writing not only listing paths but also extra codes in Python by using pre-commit. ### What changes are included in this PR? Add cmake-format related pre-commit configuration. We don't remove cmake-format related code from Archery for now. We'll do it when pre-commit can replace `archery lint` entirely. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: #40544 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>