Can use the ubuntu packaging of bandit afterall.

This commit is contained in:
Andrew Hamilton 2016-10-26 04:04:19 -07:00
parent c4fcae9268
commit 01b8ffaf7a
2 changed files with 1 additions and 4 deletions

View file

@ -10,6 +10,3 @@ sudo apt-get --yes install python3-minimal python3-pygments python3-pyinotify \
echo
echo "Install all the tools vigil may need..."
./install-tools
sudo apt-get --yes install python-pip python3-pip
pip install bandit==1.1.0
pip3 install bandit==1.1.0

View file

@ -455,7 +455,7 @@ def bandit(path):
text = stdout if python_version == "python" else _fix_input(eval(stdout))
text_without_timestamp = "".join(text.splitlines(keepends=True)[2:])
return status, fill3.Text(text_without_timestamp)
bandit.dependencies = {}
bandit.dependencies = {"python-bandit", "python3-bandit"}
def _perl_version(path):