forked from MarkBind/markbind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
30 lines (30 loc) · 937 Bytes
/
.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
default_install_hook_types: [pre-commit, post-checkout, pre-push]
repos:
- repo: local
hooks:
- id: run lintfix
name: run lintfix
entry: ./pre-commit/pre-commit-scripts/pre-commit.sh
pass_filenames: false
language: system
verbose: true
stages:
- commit
- id: clean and build
name: clean and build
entry: ./pre-commit/pre-commit-scripts/post-checkout.sh
pass_filenames: false
language: system
always_run: true
verbose: true
stages:
- post-checkout
- id: run tests
name: run tests
entry: ./pre-commit/pre-commit-scripts/pre-push.sh
pass_filenames: false
language: system
always_run: true
verbose: true
stages:
- push