forked from DataDog/apigentools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-hooks.yaml
49 lines (49 loc) · 1.33 KB
/
.pre-commit-hooks.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
- id: validate
name: Validate OpenAPI specification files
language: python
entry: apigentools validate
description: Validate OpenAPI specification files generated by apigentools using configuration inside this repository.
pass_filenames: true
- id: templates
name: Run apigentools templates
language: python
entry: apigentools templates
description: Run apigentools templates inside this repository.
pass_filenames: false
always_run: true
stages: [manual]
- id: generate
name: Run apigentools generate
language: python
entry: apigentools generate
description: Run apigentools generate inside this repository.
pass_filenames: false
always_run: true
stages: [manual]
- id: test
name: Run apigentools test
language: python
entry: apigentools test
description: Run apigentools test inside this repository.
pass_filenames: false
always_run: true
stages: [manual]
- id: push
name: Run apigentools push
language: python
entry: apigentools push
description: Run apigentools push inside this repository.
pass_filenames: false
always_run: true
stages: [manual]
- id: apigentools
name: Run apigentools
language: python
entry: apigentools
args:
- --version
description: Run apigentools with --version by default.
pass_filenames: false
always_run: true
stages: [manual]
verbose: true