From aeafa56b8932ba5f512e35b73e332f87d47a92d2 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 21 Feb 2019 23:11:06 +0100 Subject: [PATCH] Add pre-commit hooks See https://pre-commit.com/ for more information. --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..c682766 --- /dev/null +++ b/.pre-commit-config.yaml @@ -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