hudi-rs
hudi-rs copied to clipboard
chore: configure pre-commit hooks for code formatting
Description
This PR introduces pre-commit hooks to ensure consistent code formatting for both Python and Rust codebases. The changes include:
- Install pre-commit when using make setup.
- Add pre-commit hooks for Python and Rust code formatting.
Related issues: #73
How are the changes test-covered
- [ ] N/A
- [x] Automated tests (unit and/or integration tests)
- [ ] Manual tests
- [ ] Details are described below
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 87.42%. Comparing base (
5bf117a) to head (576f04e). Report is 49 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #103 +/- ##
=======================================
Coverage 87.42% 87.42%
=======================================
Files 14 14
Lines 700 700
=======================================
Hits 612 612
Misses 88 88
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.