[BE] add SHFMT linter to format shell scripts#157685
[BE] add SHFMT linter to format shell scripts#157685XuehaiPan wants to merge 9 commits intogh/XuehaiPan/356/basefrom
SHFMT linter to format shell scripts#157685Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/157685
Note: Links to docs will display an error until the docs builds have been completed. ❌ 7 New Failures, 2 Unrelated FailuresAs of commit cebe69d with merge base 9aedb3c ( NEW FAILURES - The following jobs have failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
BROKEN TRUNK - The following job failed but was present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ghstack-source-id: 8205ece Pull-Request: pytorch#157685
|
Do we have shellcheck enabled? If not, may be a less intrusive check to start with. |
No. |
ghstack-source-id: e9067f1 Pull-Request: pytorch#157685
I actually do believe we have shellcheck enabled, it's just over a smaller subset of things: Lines 886 to 905 in 86670b3 What's the benefit here of |
Thanks for the clarification.
It's a formatter to standardize the style for shell scripts and prevent potential merge conflicts like FYI, |
ghstack-source-id: e9067f1 Pull-Request: pytorch#157685
ghstack-source-id: 44f28ab Pull-Request: pytorch#157685
ghstack-source-id: 95f930a Pull-Request: pytorch#157685
ghstack-source-id: 7fe0193 Pull-Request: pytorch#157685
ghstack-source-id: 6547e7e Pull-Request: pytorch#157685
ghstack-source-id: ce4d210 Pull-Request: pytorch#157685
Stack from ghstack (oldest at bottom):
SHFMTin scripts/ #157689SHFMTin .ci/ #157688SHFMTin .circleci/ and .github/ #157687SHFMT#157686SHFMTlinter to format shell scripts #157685cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @jerryzh168 @seemethere @malfet @pytorch/pytorch-dev-infra @albanD @voznesenskym @penguinwu @EikanWang @Guobing-Chen @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames @ZainRizvi @huydhn @clee2000