Add pre-commit config.

This commit is contained in:
Jannis Leidel 2021-10-21 14:56:47 +02:00
parent c9d5f40ffe
commit 98779a5ae2
No known key found for this signature in database
GPG key ID: C795956FB489DCA9

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

@ -0,0 +1,7 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1 # Use the ref you want to point at
hooks:
- id: check-yaml
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]