Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: use rustfmt instead of cargo fmt in pre-commit #3799

Merged
merged 1 commit into from
Jul 20, 2023
Merged

Conversation

obycode
Copy link
Contributor

@obycode obycode commented Jul 19, 2023

The cargo fmt command recommended to include in the pre-commit hook will run on all files, instead of just the changed files as intended. This change uses rustfmt to just run on one file at a time as intended.

The `cargo fmt` command recommended to include in the `pre-commit` hook
will run on all files, instead of just the changed files as intended.
This change uses `rustfmt` to just run on one file at a time as
intended.
@obycode obycode requested review from jbencin and Acaccia July 19, 2023 19:48
@codecov
Copy link

codecov bot commented Jul 19, 2023

Codecov Report

Merging #3799 (cec7b4b) into develop (3bd9f46) will increase coverage by 10.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop    #3799       +/-   ##
============================================
+ Coverage    74.62%   84.62%   +10.00%     
============================================
  Files          302      302               
  Lines       286798   286798               
============================================
+ Hits        214014   242699    +28685     
+ Misses       72784    44099    -28685     

see 108 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@obycode obycode merged commit 143bf2b into develop Jul 20, 2023
1 check passed
@obycode obycode deleted the fix/pre-commit branch July 20, 2023 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants