Add pre-commit hooks

See https://pre-commit.com/ for more information.
This commit is contained in:
Hugo Locurcio 2019-02-21 23:10:26 +01:00
parent 876630c70d
commit 87be9a6a59
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
2 changed files with 7 additions and 1 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

View File

@ -18,4 +18,4 @@ Silver = Argento
Gold = Oro
Mithril = Mithril
Copper Rail = Binario di rame
Copper Rail = Binario di rame