Skip to content

Commit

Permalink
Adding pre-commit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cpinte committed May 16, 2024
1 parent 6845595 commit be297ab
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace # auto-fix trailing whitespaces
- id: end-of-file-fixer # add EOF "\n" if missing
- id: check-case-conflict
- id: check-merge-conflict
- id: check-added-large-files
args: ['--maxkb=100'] # prevent files larger than 100kB from being commited (exclude git lfs files)
- id: detect-private-key

0 comments on commit be297ab

Please sign in to comment.