This is an automated email from the ASF dual-hosted git repository.

richox pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/auron.git


The following commit(s) were added to refs/heads/master by this push:
     new 55fc4315 dev/reformat format Rust early (#1719)
55fc4315 is described below

commit 55fc4315393d8c813e6738bb8ed6b932a5b9f98b
Author: cxzl25 <[email protected]>
AuthorDate: Thu Dec 11 13:02:14 2025 +0800

    dev/reformat format Rust early (#1719)
---
 dev/reformat | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev/reformat b/dev/reformat
index 90a25dd6..5a463a63 100755
--- a/dev/reformat
+++ b/dev/reformat
@@ -40,6 +40,14 @@ function run_maven() {
   fi
 }
 
+# check or format the rust code
+if [[ "$CHECK" == "true" ]]; then
+  cargo fmt --check
+else
+  cargo fix --all --allow-dirty --allow-staged --allow-no-vcs
+  cargo fmt --all -q --
+fi
+
 # Check or format all code, including third-party code, with spark-3.5
 sparkver=spark-3.5
 for celebornver in celeborn-0.5 celeborn-0.6
@@ -53,11 +61,3 @@ for sparkver in "${sparkvers[@]}"
 do
   run_maven -P"${sparkver}"
 done
-
-# check or format the rust code
-if [[ "$CHECK" == "true" ]]; then
-  cargo fmt --check
-else
-  cargo fix --all --allow-dirty --allow-staged --allow-no-vcs
-  cargo fmt --all -q --
-fi

Reply via email to