mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-03 05:03:43 +08:00
Also run bandit during py3 unit tests
This commit is contained in:
@@ -22,4 +22,4 @@ sed -i \
|
||||
|
||||
# Since tox seems to ignore `usedevelop` when we have `sitepackages` on, we have to run it manually
|
||||
python3 setup.py develop --no-deps
|
||||
/usr/bin/tox -e flake8,py3,intflake "$@"
|
||||
/usr/bin/tox -e flake8,py3,intflake,bandit "$@"
|
||||
|
||||
4
tox.ini
4
tox.ini
@@ -4,7 +4,7 @@
|
||||
# and then run "tox" from this directory.
|
||||
|
||||
[tox]
|
||||
envlist = flake8, intflake, py27, py3
|
||||
envlist = flake8, intflake, py27, py3, bandit
|
||||
|
||||
[flake8]
|
||||
ignore = E731,W503
|
||||
@@ -57,7 +57,7 @@ deps = flake8
|
||||
commands = flake8 tests/integration
|
||||
|
||||
[testenv:bandit]
|
||||
basepython = python2
|
||||
basepython = python3
|
||||
skip_install = true
|
||||
deps = bandit
|
||||
commands =
|
||||
|
||||
Reference in New Issue
Block a user