Skip to content

Add a pre-commit hook mirroring CI's fmt and clippy checks - #1372

Merged
LastExceed merged 1 commit into
RustAudio:masterfrom
ErwanLegrand:fix/pre-commit
Oct 12, 2026
Merged

LastExceed merged 1 commit into
RustAudio:masterfrom
ErwanLegrand:fix/pre-commit

Conversation

@ErwanLegrand

Copy link
Copy Markdown
Contributor

It's all in the title. The aim is to increase the quality of submissions before CI even runs, obviously.

@ErwanLegrand ErwanLegrand changed the title chore: add a pre-commit hook mirroring CI's fmt and clippy checks Add a pre-commit hook mirroring CI's fmt and clippy checks Sep 19, 2026

@LastExceed LastExceed left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I like this idea! There are a few things I'd change though:

Comment thread .githooks/pre-commit Outdated
Comment thread .githooks/pre-commit Outdated
Comment thread CONTRIBUTING.md Outdated
@ErwanLegrand

Copy link
Copy Markdown
Contributor Author

I have made the changes as requested. Let me know if you find anything else.

@LastExceed
LastExceed merged commit 1ee8f39 into RustAudio:master Oct 12, 2026
37 checks passed
@LastExceed

Copy link
Copy Markdown
Collaborator

Thanks, I have just become a maintainer, and this is my first merge 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants