Skip to content

Commit

Permalink
add precommit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzn committed Oct 3, 2023
1 parent 7070d86 commit bad7eba
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- id: fmt
name: fmt
description: Format files with Scarb fmt
entry: scarb fmt
language: system
files: \.cairo$
args: []
- id: test
name: cairo test
description: Run tests with Scarb test
entry: scarb test
language: system
files: \.cairo$
pass_filenames: false

0 comments on commit bad7eba

Please sign in to comment.