diff --git a/devices/tox.ini b/devices/tox.ini index 26738468dc9f5fdbfe9b25af86c682c86c831c68..18c6cda38751d7bc447e8fb23d92e63b64288ddb 100644 --- a/devices/tox.ini +++ b/devices/tox.ini @@ -24,9 +24,13 @@ commands = ; doc8 doc/source/ README.rst flake8 -[testenv:bandit] +[testenv:bandit]; +; B104: hardcoded_bind_all_interfaces +; - We disable this warning as Docker serves as our firewall. +; It thus matters what interfaces Docker will bind our +; containers to, not what our containers listen on. commands = - bandit -r devices/ clients/ common/ examples/ util/ -n5 -ll + bandit -r devices/ clients/ common/ examples/ util/ -n5 -ll -s B104 [flake8] filename = *.py,.stestr.conf,.txt