From d6b4e693997ae899f0b6bc499b6c1d1c7ba058ac Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Tue, 7 Mar 2023 09:58:42 +0300 Subject: [PATCH] [#7] pre-commit: Add initial configuration Signed-off-by: Evgenii Stratonikov --- .pre-commit-config.yaml | 19 +++++++++++++++++++ Makefile | 0 2 files changed, 19 insertions(+) create mode 100644 .pre-commit-config.yaml mode change 100644 => 100755 Makefile diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..9c6f604 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,19 @@ +ci: + autofix_prs: false + +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: check-added-large-files + - id: check-case-conflict + - id: check-executables-have-shebangs + - id: check-shebang-scripts-are-executable + - id: check-merge-conflict + - id: check-json + - id: check-xml + - id: check-yaml + - id: trailing-whitespace + args: [--markdown-linebreak-ext=md] + - id: end-of-file-fixer + exclude: ".key$" diff --git a/Makefile b/Makefile old mode 100644 new mode 100755