Skip to content

Commit 8013560

Browse files
committed
Ignore non-critical security issues
1 parent f989aac commit 8013560

File tree

1 file changed

+3
-3
lines changed
  • exasol/toolbox/util/dependencies

1 file changed

+3
-3
lines changed

exasol/toolbox/util/dependencies/audit.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import annotations
22

33
import json
4-
import subprocess
4+
import subprocess # nosec
55
from dataclasses import dataclass
66
from pathlib import Path
77
from 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);

0 commit comments

Comments
 (0)