Xuanwo commented on code in PR #1267: URL: https://github.com/apache/iceberg-rust/pull/1267#discussion_r2062578139
########## CONTRIBUTING.md: ########## @@ -107,6 +107,21 @@ For MacOS users, you can install [OrbStack as a docker alternative](docs/contrib For podman, refer to [Using Podman instead of Docker](docs/contributing/podman.md) +#### Install precommit hook + +We're configured precommit hook which does formatting and linting to catch common mistakes and improve rust code quality. + +To install, +```sh +pip install pre-commit Review Comment: Can we use something written in Rust? And do we really need a tool for this? It seems like it should be simple to just copy some scripts to `.git/hooks`. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
