aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-07-27 17:09:05 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-07-27 20:39:34 +0200
commit40705b6521c2684b60e3acc9824bb1f16a7e4a1e (patch)
tree7a16a23a1174c9b864a1f78cc27ff4d01cea146e /tox.ini
parent413b52a98a359094dbc251749c04d2789e0ab24c (diff)
Switch to Python 3.7 and Alpine 3.10
pylint is updated to 2.3.1 (lastest py3.7 version) Change-Id: I8b70e9764e2802aeb517969c265fbebfa03458ce Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini16
1 files changed, 8 insertions, 8 deletions
diff --git a/tox.ini b/tox.ini
index 017d8fc0..83513833 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27,bandit
+envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27,py37,bandit
[testenv]
usedevelop = True
@@ -18,15 +18,15 @@ commands = nosetests --with-xunit \
functest_kubernetes
[testenv:pep8]
-basepython = python2.7
+basepython = python3.7
commands = flake8
[testenv:pylint]
-basepython = python2.7
+basepython = python3.7
commands = pylint --disable=locally-disabled --reports=n functest_kubernetes
[testenv:yamllint]
-basepython = python2.7
+basepython = python3.7
files =
.travis.yml
docker
@@ -35,18 +35,18 @@ commands =
yamllint {[testenv:yamllint]files}
[testenv:ansiblelint]
-basepython = python2.7
+basepython = python3.7
commands = ansible-lint ansible/site.yml
[testenv:bandit]
-basepython = python2.7
+basepython = python3.7
commands = bandit -r functest_kubernetes -x tests -n 5 -ll
-[testenv:py36]
+[testenv:py37]
commands = nosetests functest_kubernetes
[testenv:bashate]
-basepython = python2.7
+basepython = python3.7
files =
build.sh
commands = bashate -e E005,E006,E042,E043 {[testenv:bashate]files}