-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
42 lines (42 loc) · 1.07 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
34
35
36
37
38
39
40
41
42
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: check-json
- id: check-vcs-permalinks
- id: trailing-whitespace
types: [non-executable, file, text]
exclude_types: [markdown]
exclude: ^data/
- id: mixed-line-ending
- id: end-of-file-fixer
types: [non-executable, file, text]
exclude_types: [markdown]
- repo: meta
hooks:
- id: check-useless-excludes
- repo: local
hooks:
- id: fmt
name: fmt
language: system
types: [file, rust]
entry: make fmt
pass_filenames: false
- id: clippy
name: clippy
language: system
types: [file, rust]
entry: make clippy
pass_filenames: false
- id: test
name: test
language: system
types: [file, rust]
entry: make test
pass_filenames: false
stages: [push]