-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
33 lines (33 loc) · 1.12 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/EmbarkStudios/cargo-deny
rev: 0.16.3
hooks:
- id: cargo-deny
args: ["--all-features", "check", "licenses"]
- repo: https://github.com/backplane/pre-commit-rust-hooks
rev: v1.1.0
hooks:
- id: fmt
args: ["--all", "--"]
- id: check
args: ["--workspace", "--all-targets", "--all-features", "--bins", "--tests", "--benches", "--examples"]
- id: test
args: ["--workspace", "--all-targets", "--all-features", "--bins", "--tests", "--benches", "--examples"]
- id: clippy
args: ["--workspace", "--all-targets", "--all-features"]
- repo: local
hooks:
- id: version
name: fix version
description: update version of workspaces to match root crate
language: script
entry: ./version.sh