Skip to content

Commit

Permalink
Add pre-commit hooks for preventing large files, detecting private ke…
Browse files Browse the repository at this point in the history
…ys, and fixing byte order marker
  • Loading branch information
TanookiVerde committed Oct 11, 2024
1 parent dc81a29 commit 10cad7b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files # prevents adding large files
- id: detect-private-key # detects private keys
- id: fix-byte-order-marker # fixes BOM

0 comments on commit 10cad7b

Please sign in to comment.