From 65a89551b4c40bb51f15b61d28c0987852d4ddb3 Mon Sep 17 00:00:00 2001 From: ch <289995-netravnen@users.noreply.gitlab.com> Date: Wed, 18 Oct 2023 11:00:39 +0200 Subject: [PATCH] hook: Add pre-commit.com config to repo --- .pre-commit-config.yaml | 13 +++++++++++++ 1 file changed, 13 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..73d4ca0 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,13 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +# +# To skip hooks on single commit, use --no-verify +# +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.2.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files