Run linters on py3
Change-Id: I8db90ce8198aad720a644186d6a122df6f0058ae
This commit is contained in:
6
tox.ini
6
tox.ini
@@ -37,8 +37,6 @@ setenv = VIRTUAL_ENV={envdir}
|
|||||||
NOSE_COVER_HTML_DIR={toxinidir}/cover
|
NOSE_COVER_HTML_DIR={toxinidir}/cover
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python2.7
|
|
||||||
deps = {[testenv:py27]deps}
|
|
||||||
commands =
|
commands =
|
||||||
flake8 {posargs:swift test doc setup.py}
|
flake8 {posargs:swift test doc setup.py}
|
||||||
flake8 --filename=swift* bin
|
flake8 --filename=swift* bin
|
||||||
@@ -46,10 +44,6 @@ commands =
|
|||||||
bandit -c bandit.yaml -r swift -n 5
|
bandit -c bandit.yaml -r swift -n 5
|
||||||
./.manpages {posargs}
|
./.manpages {posargs}
|
||||||
|
|
||||||
[testenv:py3pep8]
|
|
||||||
basepython = python3
|
|
||||||
commands = {[testenv:pep8]commands}
|
|
||||||
|
|
||||||
[testenv:func-py3]
|
[testenv:func-py3]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
commands = ./.functests {posargs}
|
commands = ./.functests {posargs}
|
||||||
|
Reference in New Issue
Block a user