diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1277ad09f66..9a38aef88d0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -291,7 +291,7 @@ repos: # TODO: Remove this when we fix all lint failures files: >- ( - ?^c_glib/test/run-test\.sh$| + ?^c_glib/.*\.sh$| ?^ci/.*\.sh$| ?^cpp/build-support/build-lz4-lib\.sh$| ?^cpp/build-support/build-zstd-lib\.sh$| @@ -321,9 +321,7 @@ repos: ?^dev/release/setup-rhel-rebuilds\.sh$| ?^dev/release/utils-generate-checksum\.sh$| ?^dev/release/utils-watch-gh-workflow\.sh$| - ?^r/tools/download_dependencies_R\.sh$| - ?^r/inst/build_arrow_static\.sh$| - ?^swift/gen-protobuffers\.sh$| + ?^r/.*\.sh$| ) - repo: https://github.com/scop/pre-commit-shfmt # v3.11.0-1 or later requires pre-commit 3.2.0 or later but Ubuntu