Merge "Remove skipping B303 for bandit checks"

This commit is contained in:
Zuul 2020-02-20 21:06:35 +00:00 committed by Gerrit Code Review
commit 9354a9e270
1 changed files with 2 additions and 3 deletions

View File

@ -56,12 +56,11 @@ commands =
flake8 {posargs} flake8 {posargs}
{toxinidir}/tools/validate-all-dockerfiles.sh {toxinidir}/tools/validate-all-dockerfiles.sh
python {toxinidir}/tools/validate-all-file.py python {toxinidir}/tools/validate-all-file.py
bandit --skip B303 -r docker kolla tests tools bandit -r docker kolla tests tools
yamllint -s . yamllint -s .
[testenv:bandit] [testenv:bandit]
# B303: Use of insecure MD2, MD4, MD5, or SHA1 hash function. commands = bandit -r docker kolla tests tools
commands = bandit --skip B303 -r docker kolla tests tools
[testenv:venv] [testenv:venv]
deps = deps =