GH-45402: [CI][Dev][Ruby] Reformat codes before apply lint#45403
Conversation
|
|
| system ENV.cxx, "test.cpp", "-std=c++17", "-I#{include}", "-L#{lib}", | ||
| "-larrow", "-o", "test" |
There was a problem hiding this comment.
Could you exclude this from lint targets?
This is a vendored file. Upstream is https://github.com/Homebrew/homebrew-core/blob/master/Formula/a/apache-arrow.rb .
BTW, we should resync this and apache-arrow-glib.rb...
There was a problem hiding this comment.
I reverted this change and add the exclude section in the .pre-commit-config.yaml
( A PR of .pre-commit-config.yaml will create later.)
exclude: >-
(
?^dev/tasks/homebrew-formulae/.*\.rb$|
)Note
- I will check
apache-arrow-glib.rbon anther PR. - Is this typo?
dev/tasks/homebrew-formulae(formulae->formula)
There was a problem hiding this comment.
Is this typo?
dev/tasks/homebrew-formulae(formulae->formula)
No. formulae is a plural form of formula. There are 2 files in dev/tasks/homebrew-formulae/. So we use a plural form.
There was a problem hiding this comment.
Ah, the plural of formula is formulae. I didn't know that. Thanks!
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit ddc4bde. There were 8 benchmark results with an error:
There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 1 possible false positive for unstable benchmarks that are known to sometimes produce them. |
Rationale for this change
#45398 will apply Ruby lint. Before this change, some code needs to be reformatted to avoid format errors.
What changes are included in this PR?
Reformat Ruby codes.
Are these changes tested?
Yes.
Are there any user-facing changes?
No.