add pre-commit config
Some checks reported errors
continuous-integration/drone/pr Build encountered an error

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
parent 6fcef0ce11
commit b2dadd2b4a
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

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