-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-hooks.yaml
42 lines (37 loc) · 1.09 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
# SCARB HOOKS
- id: scarb-fmt
name: Cairo Format (Scarb)
description: Use Scarb to automatically format files in the Cairo project.
entry: scarb fmt
language: system
pass_filenames: false
args: []
- id: scarb-test
name: Cairo Test (Scarb)
description: Run Scarb tests to ensure the reliability of the Cairo project.
entry: scarb test
language: system
pass_filenames: false
args: []
- id: scarb-build
name: Cairo Build (Scarb)
description: Use Scarb to execute the build process for the Cairo project.
entry: scarb build
language: system
pass_filenames: false
args: []
- id: scarb-clean
name: Cairo Clean (Scarb)
description: Run the Scarb clean command to remove temporary files in the Cairo project.
entry: scarb clean
language: system
pass_filenames: false
args: []
# FOUNDRY HOOKS
- id: foundry-test
name: Cairo Test (Foundry)
description: Run Foundry tests to ensure the reliability of the Cairo project.
entry: snforge test
language: system
pass_filenames: false
args: []