Skip to content

Conversation

@jhodapp
Copy link
Member

@jhodapp jhodapp commented Jan 17, 2023

Description

This PR is simple, it adds a git-commit hook that runs cargo fmt every time any code changes are committed via git commit

GitHub Issue: N/A

Changes

  • Add git-commit hook that runs 'cargo fmt' when committing code changes
  • Updates README.md to list how to install the git-commit hooks

Testing Strategy

Run scripts/create-git-hooks, modify a piece of Rust code, and observe that cargo fmt fixes the formatting if necessary.

Concerns

None

@jhodapp jhodapp added the enhancement Improves existing functionality or feature label Jan 17, 2023
@jhodapp jhodapp added this to the 0.4 Release milestone Jan 17, 2023
@jhodapp jhodapp requested a review from calebbourg January 17, 2023 03:02
@jhodapp jhodapp self-assigned this Jan 17, 2023
@jhodapp jhodapp merged commit 60b487f into main Jan 17, 2023
@jhodapp jhodapp deleted the add_git_commit_hook branch January 17, 2023 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improves existing functionality or feature

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants