amoeba commented on code in PR #49701:
URL: https://github.com/apache/arrow/pull/49701#discussion_r3062173163


##########
.pre-commit-config.yaml:
##########
@@ -203,13 +203,12 @@ repos:
         pass_filenames: false
         files: >-
           ^r/.*\.(R|Rmd)$
-  - repo: local
+  - repo: https://github.com/posit-dev/air-pre-commit
+    rev: 0.8.2
     hooks:
       - id: air-format
         alias: r
         name: R Format (Air)
-        language: system
-        entry: air format r --check
         files: >-
             ^r/.*\.R$

Review Comment:
   I think so, since the hook uses `files_or`: 
https://github.com/posit-dev/air-pre-commit/blob/main/.pre-commit-hooks.yaml#L6.
 Changed in 
https://github.com/apache/arrow/pull/49701/commits/e24069b48053c8a0e66ea8fc40c1e0e07c2122c5.



-- 
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]

Reply via email to