我正在使用以下包:https://github.com/PyCQA/bandit对运行时执行一些静态分析。目前我做了以下工作:
subprocess.Popen(['bandit', '-r', full_path], stdout=subprocess.PIPE)
但我正试图摆脱使用subprocess.Popen,有可能在python中本机调用bandit吗?差不多
from bandit import ...
run_bandit(directory, recursive=True)
Tags:
目前没有回答
相关问题 更多 >
编程相关推荐