-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI][Dev] Add shell script linter #43080
Comments
This sounds like a good idea to me. I'm very bad at writing shell scripts and I would appreciate this. |
I've introduced shellcheck and shfmt to apache/arrow-go by apache/arrow-go@d486377#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9 . |
I still think this would be a good idea. Also cc @assignUser |
Yeah bashls is screaming at me everytime I open one of our scripts xD |
### Rationale for this change shellcheck is a shell linter. It will find some potential problems in CI. ### What changes are included in this PR? * Add a shellcheck entry to `.pre-commit-config.yaml` * Enable shellcheck lint only for `ci/scripts/c_glib_build.sh` We should enable shellcheck lint for all shell scripts eventually. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: #43080 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
Issue resolved by pull request 44724 |
Describe the enhancement requested
Candidate:
Component(s)
Continuous Integration, Developer Tools
The text was updated successfully, but these errors were encountered: