From 2d69214ff9546073617535bf8203ae466fc14465 Mon Sep 17 00:00:00 2001 From: Christian Riedel Date: Tue, 29 Nov 2022 16:13:43 +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 1841d599..1edfa5fa 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