Enforce LF line endings in pre-commit

- Update pre-commit hooks to 2.1.0
This commit is contained in:
Hugo Locurcio 2019-03-01 15:27:29 +01:00
parent 14f9397a4e
commit 8f5f661387
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C

View File

@ -1,6 +1,9 @@
- repo: https://github.com/pre-commit/pre-commit-hooks repos:
rev: v2.0.0 - repo: https://github.com/pre-commit/pre-commit-hooks
hooks: rev: v2.1.0
- id: end-of-file-fixer hooks:
- id: mixed-line-ending - id: end-of-file-fixer
- id: trailing-whitespace - id: trailing-whitespace
- id: mixed-line-ending
args: [--fix=lf]