muyihao opened a new pull request, #100:
URL: https://github.com/apache/hudi-rs/pull/100

   ## Description
   This PR introduces pre-commit hooks to ensure code adheres to style 
guidelines and quality standards. The following hooks have been added:
   <!--- Describe your changes in detail -->
   General Hooks:
   
   - Remove trailing whitespace
   - Ensure files end with a newline
   - Validate YAML and JSON files
   - Prevent large files from being added
   - Detect merge conflict markers
   
   Python:
   
   - Format code with Black (max line length 120)
   - Lint code with Flake8 and flake8-bugbear (ignoring F401, max line length 
120)
   
   Rust:
   
   - Format code with cargo fmt
   
   <!--- If it fixes an open issue, please link to the issue here. -->
   Related Issue:
   [#5](https://github.com/apache/hudi-rs/issues/5)
   [#73 ](https://github.com/apache/hudi-rs/issues/73)
   <!--- Please link any related issues and PRs as well. -->
   
   ## How are the changes test-covered
   
   - [ ] N/A
   - [x] Automated tests (unit and/or integration tests)
   - [ ] Manual tests
     - [ ] Details are described below
   


-- 
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