From 224d877fbb4a7980b13d7d398b366c91908b51c3 Mon Sep 17 00:00:00 2001 From: crater2150 Date: Mon, 21 Aug 2023 11:54:19 +0200 Subject: [PATCH] add pre-commit config to prevent trailing whitespace --- .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..5e41925 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,6 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: end-of-file-fixer + - id: trailing-whitespace