Skip to content

Commit

Permalink
add pre-commit to run tests before each commit
Browse files Browse the repository at this point in the history
  • Loading branch information
abi committed Feb 23, 2024
1 parent c0e084a commit 5e2c2b2
Show file tree
Hide file tree
Showing 3 changed files with 180 additions and 36 deletions.
9 changes: 9 additions & 0 deletions backend/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
Loading

0 comments on commit 5e2c2b2

Please sign in to comment.