You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "kou (via GitHub)" <gi...@apache.org> on 2024/03/16 12:55:39 UTC
[PR] GH-40586: [Dev][C++][Python][R] Use pre-commit for clang-format [arrow]
kou opened a new pull request, #40587:
URL: https://github.com/apache/arrow/pull/40587
### Rationale for this change
We can run `clang-format` easily than `archery lint` by using `pre-commit`:
* We don't need to install `clang-format-14` separately because `pre-commit` prepare it automatically.
* We don't need to run `cmake` to run `clang-format-14`.
### What changes are included in this PR?
Add `clang-format` related `pre-commit` configurations.
This doesn't change `archery lint` because our `pre-commit` configurations can't replace `archery lint` entirely yet.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-40586: [Dev][C++][Python][R] Use pre-commit for clang-format [arrow]
Posted by "conbench-apache-arrow[bot] (via GitHub)" <gi...@apache.org>.
conbench-apache-arrow[bot] commented on PR #40587:
URL: https://github.com/apache/arrow/pull/40587#issuecomment-2024926707
After merging your PR, Conbench analyzed the 7 benchmarking runs that have been run so far on merge-commit c9cb3fa85c1e9927fc473e1459a4fd5633614003.
There was 1 benchmark result with an error:
- Commit Run on `ursa-i9-9960x` at [2024-03-28 02:40:15Z](https://conbench.ursa.dev/compare/runs/c310b55c33484dc4957660bfd3282864...b246f5c0b7d24dba997c278844a1b06b/)
- [`file-write` (R) with compression=lz4, dataset=fanniemae_2016Q4, file_type=feather, input_type=dataframe, language=R](https://conbench.ursa.dev/benchmark-results/06604cea5c3373d58000ef63c94f867e)
There was 1 benchmark result indicating a performance regression:
- Commit Run on `ursa-i9-9960x` at [2024-03-28 02:40:15Z](https://conbench.ursa.dev/compare/runs/c310b55c33484dc4957660bfd3282864...b246f5c0b7d24dba997c278844a1b06b/)
- [`csv-read` (Python) with compression=uncompressed, dataset=nyctaxi_2010-01, output_format=arrow_table, streaming=file](https://conbench.ursa.dev/compare/benchmarks/06604507c0ce72e680007c7741103cf9...06604be9aef577fb800040a9f01b4801)
The [full Conbench report](https://github.com/apache/arrow/runs/23194885126) has more details. It also includes information about 2 possible false positives for unstable benchmarks that are known to sometimes produce them.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-40586: [Dev][C++][Python][R] Use pre-commit for clang-format [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou merged PR #40587:
URL: https://github.com/apache/arrow/pull/40587
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-40586: [Dev][C++][Python][R] Use pre-commit for clang-format [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #40587:
URL: https://github.com/apache/arrow/pull/40587#issuecomment-2001979935
:warning: GitHub issue #40586 **has been automatically assigned in GitHub** to PR creator.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-40586: [Dev][C++][Python][R] Use pre-commit for clang-format [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #40587:
URL: https://github.com/apache/arrow/pull/40587#issuecomment-2013743156
I'll merge this in a few days if nobody objects this.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org