pitrou commented on code in PR #40794:
URL: https://github.com/apache/arrow/pull/40794#discussion_r1538860346


##########
.pre-commit-config.yaml:
##########
@@ -29,12 +29,11 @@ repos:
         entry: bash -c "git archive HEAD --prefix=apache-arrow/ 
--output=arrow-src.tar && ./dev/release/run-rat.sh arrow-src.tar"
         always_run: true
         pass_filenames: false
-      - id: hadolint
+  - repo: https://github.com/hadolint/hadolint
+    rev: v2.12.0
+    hooks:
+      - id: hadolint-docker
         name: Docker Format
-        language: docker_image
-        types:
-          - dockerfile
-        entry: --entrypoint /bin/hadolint hadolint/hadolint:latest -
         exclude: ^dev/.*$

Review Comment:
   I'm curious: why do we exclude `dev/`?



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