Add pre-commit hooks

See https://pre-commit.com/ for more information.
master
Hugo Locurcio 2019-02-21 23:11:24 +01:00
parent 8aac427d41
commit b5a6e6af1d
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
1 changed files with 6 additions and 0 deletions

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

@ -0,0 +1,6 @@
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace