From f1731f337e70633f78e94a339401bbba03d20ee5 Mon Sep 17 00:00:00 2001 From: Christian Riedel Date: Tue, 29 Nov 2022 19:30:56 +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 a108127..7e4af0e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,7 +41,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