Skip to content

Commit

Permalink
Pre-commit config
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Saelices <msaelices@gmail.com>
  • Loading branch information
msaelices committed Sep 29, 2024
1 parent ffb0cc0 commit 6d0747a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: local
hooks:
- id: mojo-format
name: mojo-format
entry: magic run mojo format -l 80
language: system
files: '\.(mojo|🔥)$'
stages: [commit]

0 comments on commit 6d0747a

Please sign in to comment.