add simple pre-commit config

This commit is contained in:
Gabriel Augendre 2024-10-10 22:50:45 +02:00
parent 38c003d7e8
commit 08e196eaa9
3 changed files with 10 additions and 2 deletions

8
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,8 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
args: [--unsafe]
- id: end-of-file-fixer
- id: trailing-whitespace