add precommit hooks

This commit is contained in:
2024-12-30 17:20:01 -06:00
parent 936e4a4831
commit c151d425a0
28 changed files with 41 additions and 31 deletions

11
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,11 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files
- id: check-yaml
exclude: '^.*\/templates\/.*$'
args:
- --multi