[bandit] Add nosec for subprocess (#10941)

This commit is contained in:
Alexander Sesorov 2022-03-22 12:56:54 +03:00 committed by GitHub
parent 37adb6d8a9
commit fb7249d496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View File

@ -30,7 +30,7 @@ import binascii
import platform
import traceback
import threading
import subprocess
import subprocess # nosec
from python_compat import *
from glob import glob
from datetime import datetime, timedelta

View File

@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0
import os
import subprocess
import subprocess # nosec
import tarfile
from datetime import datetime
from shutil import copy, copytree, rmtree

View File

@ -4,7 +4,7 @@
import argparse
import os
import shutil
import subprocess
import subprocess # nosec
import sys

View File

@ -5,5 +5,5 @@
if __name__ == "__main__":
from subprocess_main import subprocess_main # pylint: disable=no-name-in-module
from subprocess_main import subprocess_main # nosec; pylint: disable=no-name-in-module
subprocess_main(framework=None)

View File

@ -3,7 +3,7 @@
import logging as log
import os
import subprocess
import subprocess # nosec
import sys

View File

@ -6,7 +6,7 @@
import os
import sys
import platform
import subprocess
import subprocess # nosec
lib_env_key = "PATH" if platform.system() == "Windows" else "LD_LIBRARY_PATH"
if lib_env_key not in os.environ:

View File

@ -3,7 +3,7 @@
import os
import re
import subprocess
import subprocess # nosec
import sys
from openvino.tools.mo.utils.utils import get_mo_root_dir