add pre-commit config
All checks were successful
continuous-integration/drone/push Build is passing

it's sane to have some pre-flight checks, pre-commit makes it easy.
ref: https://pre-commit.com/
This commit is contained in:
surtur 2021-08-08 00:48:18 +02:00 committed by Gitea
parent 06da04bb5c
commit 666bb63477
Signed by: Gitea
GPG Key ID: 0DD13DBC6B5433D3

6
.pre-commit-config.yaml Normal file

@ -0,0 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-merge-conflict
- id: check-toml