mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-08 19:30:39 +00:00
move all to local hooks
This commit is contained in:
parent
89c6dacb60
commit
08d0ba6f5a
1 changed files with 16 additions and 6 deletions
|
@ -27,9 +27,19 @@ repos:
|
|||
entry: cargo fmt
|
||||
args:
|
||||
- --
|
||||
- repo: https://github.com/backplane/pre-commit-rust-hooks
|
||||
rev: v1.1.0
|
||||
hooks:
|
||||
- id: check
|
||||
- id: clippy
|
||||
- id: test
|
||||
- id: check
|
||||
name: cargo check
|
||||
description: check the package for errors with "cargo check"
|
||||
types:
|
||||
- rust
|
||||
language: rust
|
||||
entry: cargo check
|
||||
pass_filenames: false
|
||||
- id: clippy
|
||||
name: cargo clippy
|
||||
description: check the package with "cargo clippy"
|
||||
types:
|
||||
- rust
|
||||
language: rust
|
||||
entry: cargo clippy
|
||||
pass_filenames: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue