dentiny commented on code in PR #758:
URL: https://github.com/apache/mahout/pull/758#discussion_r2650089927
##########
.pre-commit-config.yaml:
##########
@@ -50,3 +50,19 @@ repos:
- testing/utils/.license-header.txt
- --comment-style
- "//"
+
+# Rust Linter
+ - repo: local
+ hooks:
+ - id: rust-fmt
Review Comment:
There's native rust format precommit hook to use:
https://github.com/Mooncake-Labs/moonlink/blob/97f9bd064c2ca2d633afea7c4534e2c662b55c3f/.pre-commit-config.yaml#L6-L9
The benefit of which is we don't need pre-setup in CI (though `cargo fmt` is
built in by default)
--
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]