From da6116f6013b55e78d182585ed7b6ac33f762fed Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 17 Sep 2021 06:34:59 +0300
Subject: [PATCH] New pre-commit-hooks repo.

Migrate to my new pre-commit-hooks repo.
---
 .config/git/skel/.pre-commit-config.yaml | 18 ++++++++++--------
 .pre-commit-config.yaml                  |  6 +++---
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/.config/git/skel/.pre-commit-config.yaml b/.config/git/skel/.pre-commit-config.yaml
index 336b7ab..d84b458 100644
--- a/.config/git/skel/.pre-commit-config.yaml
+++ b/.config/git/skel/.pre-commit-config.yaml
@@ -116,21 +116,23 @@ repos:
     hooks:
       - id: validate_manifest
 
-  - repo: https://git.shore.co.il/nimrod/shell-pre-commit.git
-    rev: v0.6.0
+  - repo: https://git.shore.co.il/nimrod/pre-commit-hooks.git
+    rev: v0.1.0
     hooks:
-      - id: shell-lint
+      - id: shell-validate
+      - id: docker-compose
+      - id: ansible-syntax-check
+      - id: ansible-vault-check
+      - id: terraform-ftm
+      - id: terraform-validate
+      - id: poetry-check
+      - id: docker-compose
 
   - repo: https://github.com/shellcheck-py/shellcheck-py.git
     rev: v0.7.2.1
     hooks:
       - id: shellcheck
 
-  - repo: https://git.shore.co.il/nimrod/docker-pre-commit.git
-    rev: v0.3.0
-    hooks:
-      - id: docker-compose
-
   - repo: https://github.com/ansible/ansible-lint.git
     rev: v5.1.3
     hooks:
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 597749d..a38b9ab 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -79,10 +79,10 @@ repos:
       - id: detect-secrets
         exclude: rabbitmqadmin|\.config/git/config|Pipfile\.lock
 
-  - repo: https://git.shore.co.il/nimrod/shell-pre-commit.git
-    rev: v0.6.0
+  - repo: https://git.shore.co.il/nimrod/pre-commit-hooks.git
+    rev: v0.1.0
     hooks:
-      - id: shell-lint
+      - id: shell-validate
         exclude: &excluded_shellscripts |-
           \.bash_completion\.d/(docker-machine\.bash|fabric-completion.bash|docker-compose)
 
-- 
GitLab