From 1b3b578341b0e8a65a22f1ae3507230a691fb022 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 16 Oct 2018 12:10:34 +0200 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..a87c913 --- /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