[
https://issues.apache.org/jira/browse/ARROW-11101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
meng qingyou updated ARROW-11101:
---------------------------------
Description:
Currently, the client side git pre-commit hook checks and runs `cargo fmt`
with stable version, but the CI check may fail in nightly version occasionally
even if the code has been formatted with stable.
It seems that, this problem can be resolved by: running `cargo +nighty fmt`
before `cargo +stable fmt`. Thus `pre-commit.sh` should be updated in this way.
was:
Currently, the client side git pre-commit hook check and run `cargo fmt` with
stable version, but the CI check may fail in nightly version occasionally even
if the code has been formatted with stable.
It seems that, this problem can be resolved by: running `cargo +nighty fmt`
before `cargo +stable fmt`. Thus `pre-commit.sh` should be updated in this way.
> [Rust] udate git pre-commit hook
> --------------------------------
>
> Key: ARROW-11101
> URL: https://issues.apache.org/jira/browse/ARROW-11101
> Project: Apache Arrow
> Issue Type: Improvement
> Reporter: meng qingyou
> Priority: Major
>
> Currently, the client side git pre-commit hook checks and runs `cargo fmt`
> with stable version, but the CI check may fail in nightly version
> occasionally even if the code has been formatted with stable.
> It seems that, this problem can be resolved by: running `cargo +nighty fmt`
> before `cargo +stable fmt`. Thus `pre-commit.sh` should be updated in this
> way.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)