kou commented on PR #1462: URL: https://github.com/apache/arrow-adbc/pull/1462#issuecomment-1890799859
We may want to use the official(?) clang-format plugin https://github.com/pre-commit/mirrors-clang-format : ```diff diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c13ad362..3cfd2924 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,12 +39,13 @@ repos: files: '\.(bat|sln)$' - id: trailing-whitespace exclude: "^r/.*?/_snaps/.*?.md$" - - repo: https://github.com/pocc/pre-commit-hooks - rev: v1.3.5 + - repo: https://github.com/pre-commit/mirrors-clang-format + rev: "v14.0.6" hooks: - id: clang-format - args: [-i] - types_or: [c, c++] + types_or: + - c++ + - c - repo: https://github.com/cheshirekow/cmake-format-precommit rev: v0.6.13 hooks: ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
