From a649a42332114fe2e47a372857198f103f86a4c6 Mon Sep 17 00:00:00 2001 From: Anokhov Date: Tue, 3 Sep 2024 15:24:27 +0200 Subject: [PATCH] Added ignoring errors B603 B607 for subprocess.call --- utils/arg_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/arg_parser.py b/utils/arg_parser.py index 41e2afac..c433fcb3 100644 --- a/utils/arg_parser.py +++ b/utils/arg_parser.py @@ -699,8 +699,8 @@ def parse_args(name: str, description: str): # noqa if hasattr(args, "distribution") and args.distribution == "custom": if ( - subprocess.call( - ["docker", "run", "--rm", args.tags[0], "ls", "extras/opencv"], # nosec + subprocess.call( # nosec B603 B607 + ["docker", "run", "--rm", args.tags[0], "ls", "extras/opencv"], # nosec B603 B607 stdout=subprocess.PIPE, stderr=subprocess.STDOUT, )