Can use the ubuntu packaging of bandit afterall.
This commit is contained in:
parent
c4fcae9268
commit
01b8ffaf7a
2 changed files with 1 additions and 4 deletions
|
|
@ -10,6 +10,3 @@ sudo apt-get --yes install python3-minimal python3-pygments python3-pyinotify \
|
||||||
echo
|
echo
|
||||||
echo "Install all the tools vigil may need..."
|
echo "Install all the tools vigil may need..."
|
||||||
./install-tools
|
./install-tools
|
||||||
sudo apt-get --yes install python-pip python3-pip
|
|
||||||
pip install bandit==1.1.0
|
|
||||||
pip3 install bandit==1.1.0
|
|
||||||
|
|
|
||||||
2
tools.py
2
tools.py
|
|
@ -455,7 +455,7 @@ def bandit(path):
|
||||||
text = stdout if python_version == "python" else _fix_input(eval(stdout))
|
text = stdout if python_version == "python" else _fix_input(eval(stdout))
|
||||||
text_without_timestamp = "".join(text.splitlines(keepends=True)[2:])
|
text_without_timestamp = "".join(text.splitlines(keepends=True)[2:])
|
||||||
return status, fill3.Text(text_without_timestamp)
|
return status, fill3.Text(text_without_timestamp)
|
||||||
bandit.dependencies = {}
|
bandit.dependencies = {"python-bandit", "python3-bandit"}
|
||||||
|
|
||||||
|
|
||||||
def _perl_version(path):
|
def _perl_version(path):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue