added pre-commit

This commit is contained in:
mullholland 2023-05-22 21:04:46 +02:00
parent 4c61917b4c
commit 94b5b1ca17
1 changed files with 14 additions and 0 deletions

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

@ -0,0 +1,14 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.3
hooks:
- id: yamllint
args: [-c=.yamllint]