Skip to content

Commit

Permalink
Added ignoring errors B603 B607 for subprocess.call
Browse files Browse the repository at this point in the history
  • Loading branch information
artanokhov committed Sep 3, 2024
1 parent ed4adfe commit a649a42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/arg_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit a649a42

Please sign in to comment.