Last active
January 29, 2026 11:14
-
-
Save 13hulk/be06913aca55bc52d337ddd32035d7c1 to your computer and use it in GitHub Desktop.
Pybites Rust Cohort: A minimal pre-commit hook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| repos: | |
| - repo: local | |
| hooks: | |
| - id: cargo-fmt | |
| name: cargo fmt | |
| entry: cargo fmt -- | |
| language: system | |
| types: [rust] | |
| pass_filenames: false | |
| - id: cargo-clippy | |
| name: cargo clippy | |
| entry: cargo clippy -- -D warnings | |
| language: system | |
| types: [rust] | |
| pass_filenames: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment