From 0a9544bb675bba1cce2c63244ba5b36e6a8ad158 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 23 Nov 2019 22:18:27 +0200 Subject: [PATCH] Add pre-commit hooks. --- .pre-commit-config.yaml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c6aa38..8bb2e74 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,16 +2,14 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.3.0 + rev: v2.4.0 hooks: - id: check-added-large-files - - id: check-executables-have-shebangs - id: check-merge-conflict - - id: detect-private-key - id: trailing-whitespace exclude: \.diff$ - repo: https://github.com/adrienverge/yamllint - rev: v1.17.0 + rev: v1.19.0 hooks: - id: yamllint - repo: https://github.com/amperser/proselint/ @@ -19,18 +17,9 @@ repos: hooks: - id: proselint types: [plain-text] - exclude: LICENSE - - repo: https://www.shore.co.il/git/shell-pre-commit/ - rev: v0.6.0 - hooks: - - id: shell-lint - - id: shellcheck + exclude: LICENSE|requirements - repo: https://www.shore.co.il/git/docker-pre-commit rev: v0.3.0 hooks: - id: hadolint - id: docker-compose - - repo: https://github.com/Yelp/detect-secrets - rev: v0.13.0 - hooks: - - id: detect-secrets -- GitLab