-
Notifications
You must be signed in to change notification settings - Fork 10
/
.pre-commit-config.yaml
61 lines (61 loc) · 1.24 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.28.0
hooks:
- id: commitizen
- repo: local
hooks:
- id: lint
name: Run linting
language: system
entry: devbox run lint
stages:
- "commit"
- "push"
types:
- file
- python
- repo: local
hooks:
- id: check-formatting
name: Check formatting
language: system
entry: devbox run format-check
stages:
- "commit"
- "push"
types:
- file
- python
- repo: local
hooks:
- id: run-typecheck
name: Run typecheck
language: system
entry: devbox run typecheck
stages:
- "commit"
- "push"
types:
- file
- python
- repo: local
hooks:
- id: run-tests
name: Run tests
language: system
entry: devbox run test
stages:
- "commit"
- "push"
types:
- file
- python
- repo: local
hooks:
- id: build-image
name: Build image
language: system
entry: devbox run build-image
stages:
- "push"