From 942b5a70c4df36901e170028c78706081d76f173 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 14 Aug 2022 10:35:46 +0300
Subject: [PATCH] Add pip-audit to the skeleton pre-commit config.

---
 .config/git/skel/.pre-commit-config.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.config/git/skel/.pre-commit-config.yaml b/.config/git/skel/.pre-commit-config.yaml
index 95e109e..dc5079d 100644
--- a/.config/git/skel/.pre-commit-config.yaml
+++ b/.config/git/skel/.pre-commit-config.yaml
@@ -194,3 +194,14 @@ repos:
           - "--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