From eaaf475dc0f12501531a42acc7a33e761c23d7d3 Mon Sep 17 00:00:00 2001 From: Christian Riedel Date: Tue, 29 Nov 2022 16:10:13 +0100 Subject: [PATCH] ignore CVE-2022-42969 for safety the py lib which has the issue is used by tox 3 but tox does not use the part of the lib which is affected https://github.com/tox-dev/tox/issues/2524 pytest was updated to 7.2 prior to remove py lib --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8bb3905..b639a4b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,7 @@ repos: rev: 8131ecce7c746aa3c0f8ebb453a6df1e0f62b8b5 # frozen: v1.3.0 hooks: - id: python-safety-dependencies-check - args: ["--full-report"] + args: ["--full-report", "--ignore=51457"] files: pyproject.toml exclude: testing