diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-07-27 17:09:05 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-07-27 20:39:34 +0200 |
commit | 40705b6521c2684b60e3acc9824bb1f16a7e4a1e (patch) | |
tree | 7a16a23a1174c9b864a1f78cc27ff4d01cea146e /tox.ini | |
parent | 413b52a98a359094dbc251749c04d2789e0ab24c (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.ini | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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} |