Set bandit to error on risks of any severity
authorJeremy Stanley <fungi@yuggoth.org>
Sun, 29 Dec 2019 14:25:17 +0000 (14:25 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Mon, 30 Dec 2019 15:08:16 +0000 (15:08 +0000)
Now that the last of the low-level risks has been reviewed and
whitelisted, remove the severity filter from the bandit command so
that incorporation of any unexpected risks it can spot will be
blocked for future commits.

tox.ini

diff --git a/tox.ini b/tox.ini
index ccf06a8..23ac936 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -18,7 +18,7 @@ commands = mudpy_selftest mudpy/tests/fixtures/test_daemon.yaml
 
 [testenv:bandit]
 deps = bandit
-commands = bandit -ll -r mudpy -x mudpy/tests {posargs}
+commands = bandit -r mudpy -x mudpy/tests {posargs}
 usedevelop = False
 
 [testenv:demo]