From e76a1c09273e68fa4033e2935556f0c72ed3a83d Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 6 Mar 2021 16:49:23 +0000 Subject: [PATCH] pre-commit: add initial configuration --- .pre-commit-config.yaml | 12 ++++++++++++ 1 file changed, 12 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..db9f734 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,12 @@ +repos: +- repo: 'https://github.com/pre-commit/pre-commit-hooks' + rev: 'v2.3.0' + hooks: + - id: 'trailing-whitespace' + - id: 'end-of-file-fixer' + - id: 'check-yaml' + - id: 'check-added-large-files' +- repo: 'https://github.com/jumanjihouse/pre-commit-hooks' + rev: '2.1.4' + hooks: + - id: 'forbid-binary'