This repository was archived by the owner on Mar 30, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88import sys
99from multiprocessing import Pool
1010from pathlib import Path
11- from subprocess import PIPE , Popen # nosec
11+ from subprocess import PIPE , Popen # nosec-B404
1212
1313# 3rd party imports
1414import git
@@ -32,7 +32,7 @@ def run_cmd(cli_command):
3232 stdout = PIPE ,
3333 stderr = None ,
3434 shell = True ,
35- ) # nosec
35+ ) # nosec-B602
3636 output , stderr = process .communicate ()
3737
3838 return output , stderr
Original file line number Diff line number Diff line change 33# python std lib
44import json
55import logging
6- import subprocess # nosec
6+ import subprocess # nosec-B404
77
88# 3rd party imports
99from ruamel import yaml
@@ -36,7 +36,7 @@ def _cli_installed(self, source):
3636 ],
3737 shell = False ,
3838 capture_output = True ,
39- ) # nosec
39+ ) # nosec-B603
4040 except FileNotFoundError :
4141 return False
4242
@@ -59,7 +59,7 @@ def inspect_github(self, owner):
5959 ],
6060 shell = False ,
6161 capture_output = True ,
62- ) # nosec
62+ ) # nosec-B607
6363 data = json .loads (out .stdout )
6464 repos = {}
6565 mapped_data = {
@@ -118,7 +118,7 @@ def inspect_gitlab(self, owner):
118118 ],
119119 shell = False ,
120120 capture_output = True ,
121- ) # nosec
121+ ) # nosec-B607
122122 repos = {}
123123 data = json .loads (out .stdout )
124124 mapped_data = {
You can’t perform that action at this time.
0 commit comments