File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
exasol/toolbox/util/dependencies Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11from __future__ import annotations
22
33import json
4- import subprocess
4+ import subprocess # nosec
55from dataclasses import dataclass
66from pathlib import Path
77from re import search
@@ -82,7 +82,7 @@ def audit_poetry_files(working_directory: Path) -> str:
8282 capture_output = True ,
8383 text = True ,
8484 cwd = working_directory ,
85- )
85+ ) # nosec
8686 if output .returncode != 0 :
8787 raise PipAuditException (subprocess_output = output )
8888 (working_directory / requirements_txt ).write_text (output .stdout )
@@ -93,7 +93,7 @@ def audit_poetry_files(working_directory: Path) -> str:
9393 capture_output = True ,
9494 text = True ,
9595 cwd = working_directory ,
96- )
96+ ) # nosec
9797 if output .returncode != 0 :
9898 # pip-audit does not distinguish between 1) finding vulnerabilities
9999 # and 2) other errors performing the pip-audit (i.e. malformed file);
You can’t perform that action at this time.
0 commit comments