From 138a57a46795fc16c8c8ba6ede4718ba839febea Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 25 Apr 2021 11:56:33 +0300
Subject: [PATCH] Pre-commit updates.

- Update hooks.
- Add .gitlab-ci.yml linter hook.
---
 .pre-commit-config.yaml | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0384a39..15899ab 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -13,7 +13,7 @@ repos:
       - id: trailing-whitespace
 
   - repo: https://github.com/adrienverge/yamllint
-    rev: v1.25.0
+    rev: v1.26.1
     hooks:
       - id: yamllint
 
@@ -62,7 +62,7 @@ repos:
           - pyroma
 
   - repo: https://gitlab.com/pycqa/flake8.git
-    rev: 3.8.4
+    rev: 3.9.1
     hooks:
       - id: flake8
         exclude: *excluded_pythonscripts
@@ -73,7 +73,7 @@ repos:
           - flake8-bugbear
 
   - repo: https://github.com/Yelp/detect-secrets.git
-    rev: v0.14.3
+    rev: v1.1.0
     hooks:
       - id: detect-secrets
         exclude: rabbitmqadmin|\.config/git/config|Pipfile\.lock
@@ -90,7 +90,7 @@ repos:
         types: [text]
 
   - repo: https://github.com/shellcheck-py/shellcheck-py.git
-    rev: v0.7.1.1
+    rev: v0.7.2.1
     hooks:
       - id: shellcheck
         exclude: *excluded_shellscripts
@@ -100,6 +100,14 @@ repos:
         types: [text]
 
   - repo: https://github.com/executablebooks/mdformat.git
-    rev: 0.5.3
+    rev: 0.7.4
     hooks:
       - id: mdformat
+
+  - repo: https://gitlab.com/devopshq/gitlab-ci-linter
+    rev: v1.0.3
+    hooks:
+      - id: gitlab-ci-linter
+        args:
+          - "--server"
+          - https://git.shore.co.il
-- 
GitLab