From 8c730abc078202d674d72ec6f6d10d5e80aa390a Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Thu, 24 Oct 2024 20:45:58 +0900 Subject: [PATCH] GH-44528: Introduce a new feature: specific language reformatting. Co-Authored-by: Sutou Kouhei --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bee20369c017e..a6bd798a953f8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -63,6 +63,7 @@ repos: hooks: - id: clang-format name: C++ Format + alias: cpp-format types_or: - c++ # - json @@ -103,6 +104,7 @@ repos: hooks: - id: clang-format name: C/GLib Format + alias: c-glib-format files: >- ^c_glib/ - repo: https://github.com/pre-commit/mirrors-clang-format @@ -110,6 +112,7 @@ repos: hooks: - id: clang-format name: MATLAB (C++) Format + alias: matlab-format files: >- ^matlab/src/cpp/ - repo: https://github.com/pre-commit/mirrors-clang-format @@ -117,6 +120,7 @@ repos: hooks: - id: clang-format name: Python (C++) Format + alias: python-format files: >- ^python/pyarrow/src/ exclude: >- @@ -130,6 +134,7 @@ repos: hooks: - id: clang-format name: R (C++) Format + alias: r-format files: >- ^r/src/ exclude: >-