mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
chore: Add pre-push hook to run clippy
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
default_install_hook_types:
|
||||
- pre-commit
|
||||
- pre-push
|
||||
- commit-msg
|
||||
default_stages:
|
||||
- pre-commit
|
||||
- pre-push
|
||||
- manual
|
||||
|
||||
repos:
|
||||
@@ -45,3 +47,14 @@ repos:
|
||||
pass_filenames: false
|
||||
stages:
|
||||
- pre-commit
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: cargo-clippy
|
||||
name: cargo clippy
|
||||
entry: cargo +nightly clippy -- -D warnings
|
||||
language: system
|
||||
pass_filenames: false
|
||||
always-run: true
|
||||
stages:
|
||||
- pre-push
|
||||
|
||||
Reference in New Issue
Block a user