etseidl commented on issue #6179:
URL: https://github.com/apache/arrow-rs/issues/6179#issuecomment-2316775421

   Ah, so apparently rustfmt will not format modules that are declared in 
macros, such as those in the `experimental!` macro 
https://github.com/apache/arrow-rs/blob/a937869f892dc12c4730189e216bf3bd48c2561d/parquet/src/lib.rs#L132-L137
   
   There is an open issue for this 
https://github.com/rust-lang/rustfmt/issues/3253
   
   One workaround is to tack a list of files to format to the end of the 
commandline
   
   ```
   cargo +stable fmt --all --check -- `find parquet -name "*.rs" \! -name 
format.rs`
   ```
   Perhaps something like this could be added to `.github/workflows/rust.yml`
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to