From 50fc56cd809567d1aaedbe988fa2a95d0c75f5f3 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 3 Dec 2022 13:36:14 +0200
Subject: [PATCH] Refresh .pre-commit.yaml from the skeleton file.

---
 .pre-commit-config.yaml | 42 ++++++++++++++++++++++++++++-------------
 1 file changed, 29 insertions(+), 13 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 400847b..8d45fa8 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,8 +1,9 @@
 ---
 repos:
   - repo: https://github.com/pre-commit/pre-commit-hooks.git
-    rev: v4.4.0
+    rev: v4.3.0
     hooks:
+      - id: check-added-large-files
       - id: check-merge-conflict
       - id: check-yaml
       - id: detect-private-key
@@ -11,17 +12,17 @@ repos:
         exclude: \.diff$
 
   - repo: https://github.com/codespell-project/codespell.git
-    rev: v2.2.2
+    rev: v2.1.0
     hooks:
       - id: codespell
 
   - repo: https://github.com/Yelp/detect-secrets.git
-    rev: v1.4.0
+    rev: v1.2.0
     hooks:
       - id: detect-secrets
 
   - repo: https://github.com/amperser/proselint.git
-    rev: 0.13.0
+    rev: 0.10.2
     hooks:
       - id: proselint
         types: [plain-text]
@@ -41,14 +42,17 @@ repos:
       - id: yamltool
 
   - repo: https://github.com/adrienverge/yamllint.git
-    rev: v1.28.0
+    rev: v1.27.1
     hooks:
       - id: yamllint
 
   - repo: https://github.com/executablebooks/mdformat.git
-    rev: 0.7.16
+    rev: 0.7.14
     hooks:
       - id: mdformat
+        additional_dependencies:
+          - mdformat-frontmatter
+          - mdformat-gfm
 
   - repo: https://github.com/AleksaC/hadolint-py.git
     rev: v2.10.0
@@ -56,7 +60,7 @@ repos:
       - id: hadolint
 
   - repo: https://github.com/ambv/black.git
-    rev: 22.10.0
+    rev: 22.6.0
     hooks:
       - id: black
         args:
@@ -70,7 +74,7 @@ repos:
         args: ["--filter-files", "--profile", "black"]
 
   - repo: https://github.com/PyCQA/prospector.git
-    rev: v1.8.2
+    rev: 1.7.7
     hooks:
       - id: prospector
         args:
@@ -93,10 +97,11 @@ repos:
           - |-
             --no-autodetect
         additional_dependencies:
-          - ".[with_pyroma,with_bandit]"
+          - bandit
+          - pyroma
 
   - repo: https://github.com/pycqa/flake8.git
-    rev: 6.0.0
+    rev: 3.9.2
     hooks:
       - id: flake8
         args:
@@ -117,7 +122,7 @@ repos:
       - id: python-safety-dependencies-check
 
   - repo: https://github.com/asottile/pyupgrade.git
-    rev: v3.3.0
+    rev: v2.37.1
     hooks:
       - id: pyupgrade
 
@@ -127,15 +132,26 @@ repos:
       - id: pycln
 
   - repo: https://github.com/PyCQA/docformatter.git
-    rev: v1.5.0
+    rev: v1.4
     hooks:
       - id: docformatter
 
   - repo: https://github.com/jazzband/pip-tools.git
-    rev: 6.11.0
+    rev: 6.8.0
     hooks:
       - id: pip-compile
         args:
           - "--allow-unsafe"
           - "--generate-hashes"
           - "--no-upgrade"
+
+  - repo: https://github.com/trailofbits/pip-audit.git
+    rev: v2.4.3
+    hooks:
+      - id: pip-audit
+      - id: pip-audit
+        name: pip-audit requirements files
+        args:
+          - "--requirement"
+          - "requirements.txt"
+          - "--fix"
-- 
GitLab