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

Setup pre-commit so it runs locally before every git push #12

Merged
merged 6 commits into from
Jul 18, 2024

Conversation

adilhafeez
Copy link
Contributor

No description provided.

@adilhafeez adilhafeez marked this pull request as ready for review July 18, 2024 01:20
@aayushwhiz
Copy link
Contributor

Is there a need to run both cargo clippy and cargo check since clippy uses check and more?

Copy link
Collaborator

@junr03 junr03 left a comment

Choose a reason for hiding this comment

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

Same comment as @aayushwhiz

adilhafeez and others added 4 commits July 18, 2024 10:44
Co-authored-by: José Ulises Niño Rivera <junr03@users.noreply.github.com>
@adilhafeez
Copy link
Contributor Author

Is there a need to run both cargo clippy and cargo check since clippy uses check and more?

@aayushwhiz and @junr03 you're right we don't need to run cargo-check when we are running cargo-clippy. Removed cargo-check.

@adilhafeez adilhafeez merged commit cc2a496 into main Jul 18, 2024
2 checks passed
adilhafeez added a commit that referenced this pull request Jul 18, 2024
* Setup pre-commit so it runs locally before every git push

* Update .pre-commit-config.yaml

* added more checks

* update readme

* Apply suggestions from code review

Co-authored-by: José Ulises Niño Rivera <junr03@users.noreply.github.com>

* remove cargo-check

---------

Co-authored-by: José Ulises Niño Rivera <junr03@users.noreply.github.com>
@junr03 junr03 deleted the adil/setup-pre-commit branch September 5, 2024 00:30
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.

3 participants