Skip to content

Commit

Permalink
add pre-commit yaml to run pytest before committing
Browse files Browse the repository at this point in the history
  • Loading branch information
giovanni.buroni committed Oct 27, 2024
1 parent ac293d4 commit 524c745
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
repos:
- repo: local
hooks:
- id: pytest
name: Run pytest
entry: pytest # Adjust this line if you're using a different command to run tests
language: system
pass_filenames: false

0 comments on commit 524c745

Please sign in to comment.