add pre-commit config to prevent trailing whitespace

This commit is contained in:
crater2150 2023-08-21 11:54:19 +02:00
parent b5deb6e21f
commit 224d877fbb

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

@ -0,0 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace