From 53845eb0a459f091d32e55c0cb82a630cdb4b6d9 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 19 Sep 2021 19:42:03 +0300
Subject: [PATCH] Update pre-commit hooks in the skeleton directory.

Also, a shell alias for updating that file.
---
 .bashrc                                  | 1 +
 .config/git/skel/.pre-commit-config.yaml | 9 ++++-----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.bashrc b/.bashrc
index 9d08b30..2d34479 100644
--- a/.bashrc
+++ b/.bashrc
@@ -136,6 +136,7 @@ alias obsolete='aptitude search ?obsolete'
 alias occ='docker --host=ssh://host01.shore.co.il exec -itu www-data nextcloud_nextcloud_1 ./occ'
 alias pip2='python2 -m pip'
 alias pip3='python3 -m pip'
+alias pre-commit-update-skel='pre-commit autoupdate --config ~/.config/git/skel/.pre-commit-config.yaml'
 alias presentation='docker dev registry.shore.co.il/presentation'
 # shellcheck disable=SC2139
 alias rc_make="make --directory $HOME --always-make"
diff --git a/.config/git/skel/.pre-commit-config.yaml b/.config/git/skel/.pre-commit-config.yaml
index 2fef971..267ddd6 100644
--- a/.config/git/skel/.pre-commit-config.yaml
+++ b/.config/git/skel/.pre-commit-config.yaml
@@ -47,12 +47,12 @@ repos:
       - id: yamllint
 
   - repo: https://github.com/executablebooks/mdformat.git
-    rev: 0.7.9
+    rev: 0.7.10
     hooks:
       - id: mdformat
 
   - repo: https://github.com/ambv/black.git
-    rev: 21.8b0
+    rev: 21.9b0
     hooks:
       - id: black
         args:
@@ -70,7 +70,7 @@ repos:
       - id: rstcheck
 
   - repo: https://github.com/PyCQA/prospector.git
-    rev: 1.5.1b0
+    rev: 1.5.1
     hooks:
       - id: prospector
         args:
@@ -117,11 +117,10 @@ repos:
       - id: validate_manifest
 
   - repo: https://git.shore.co.il/nimrod/pre-commit-hooks.git
-    rev: v0.1.0
+    rev: v0.2.0
     hooks:
       - id: shell-validate
       - id: ansible-syntax-check
-      - id: ansible-vault-check
       - id: terraform-fmt
       - id: terraform-validate
       - id: poetry-check
-- 
GitLab