diff options
| author | Eduardo Gonzalez <dabarren@gmail.com> | 2017-07-06 15:31:17 +0200 |
|---|---|---|
| committer | Eduardo Gonzalez <dabarren@gmail.com> | 2017-07-06 15:54:58 +0200 |
| commit | cc7aabc12ef51809a115a5b27634affc4379b49a (patch) | |
| tree | 0fb75099027173b4b79e8634e08e975b3f806290 /tox.ini | |
| parent | e5ea8f678cbb3e6355a46fb46915b7163b9780d5 (diff) | |
| download | kolla-cc7aabc12ef51809a115a5b27634affc4379b49a.tar.gz kolla-cc7aabc12ef51809a115a5b27634affc4379b49a.zip | |
Add bandit check to all python code
Bandit was not running in all directories
due missing -r parameter.
Also, this change fix bandit errors.
* Add nosec to subprocess module
* Change /tmp/releases to .releases
* Change /tmp/ to tmp/, tmp/ is not checked
and in unittest is not an issue, simpler that mocking tempfile
and make more complex tests.
Change-Id: I42bafa4707a9a4d1faeb01cb9b5a843f56280deb
Diffstat (limited to 'tox.ini')
| -rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ commands = flake8 {posargs} {toxinidir}/tools/validate-all-dockerfiles.sh python {toxinidir}/tools/validate-all-file.py - bandit docker kolla tests tools + bandit -r docker kolla tests tools [testenv:bandit] commands = bandit -r docker kolla tests tools |
