You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "meng qingyou (Jira)" <ji...@apache.org> on 2021/01/08 11:32:00 UTC
[jira] [Closed] (ARROW-11101) [Rust] enable "cargo +nightly fmt" in
git pre-commit hook
[ https://issues.apache.org/jira/browse/ARROW-11101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
meng qingyou closed ARROW-11101.
--------------------------------
> [Rust] enable "cargo +nightly fmt" in git pre-commit hook
> ---------------------------------------------------------
>
> Key: ARROW-11101
> URL: https://issues.apache.org/jira/browse/ARROW-11101
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Rust
> Reporter: meng qingyou
> Assignee: meng qingyou
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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)