Skip to content

Conversation

@tjgreen42
Copy link
Contributor

@tjgreen42 tjgreen42 commented Nov 7, 2024

Most of the fixes were automatically generated by cargo clippy --fix and do not need careful attention. The manual fixes that do need checking are in these two commits:

Once this PR is merged, we can add cargo clippy to the github checks. Also, devs should install pre-commit and run pre-commit install to pick up the new pre-commit hooks.

Testing: existing unit tests

@tjgreen42 tjgreen42 requested a review from a team as a code owner November 7, 2024 16:09
@CLAassistant
Copy link

CLAassistant commented Nov 7, 2024

CLA assistant check
All committers have signed the CLA.

@tjgreen42 tjgreen42 marked this pull request as draft November 7, 2024 16:15
@tjgreen42 tjgreen42 marked this pull request as ready for review November 7, 2024 18:54
@tjgreen42 tjgreen42 changed the title Introduce pre-commit hooks template Introduce pre-commit hooks template and fix cargo clippy issues Nov 7, 2024
@tjgreen42 tjgreen42 requested review from cevian and syvb November 7, 2024 18:55
Copy link
Collaborator

@cevian cevian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, appreciate the separated commits

@tjgreen42 tjgreen42 merged commit 9802ac9 into main Nov 7, 2024
@tjgreen42 tjgreen42 deleted the tj_pre_commit_hooks branch November 7, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants