hudi-rs icon indicating copy to clipboard operation
hudi-rs copied to clipboard

chore: configure pre-commit hooks for code formatting

Open muyihao opened this issue 1 year ago • 1 comments

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

muyihao avatar Jul 28 '24 12:07 muyihao

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.

codecov[bot] avatar Aug 30 '24 16:08 codecov[bot]