Merge "fix tox.ini for pep8 job"
This commit is contained in:
commit
736a006fe2
16
tox.ini
16
tox.ini
@ -20,36 +20,26 @@ distribute = false
|
|||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
#commands = flake8
|
||||||
commands = {toxinidir}/tools/fake_pep8.sh
|
commands = {toxinidir}/tools/fake_pep8.sh
|
||||||
distribute = false
|
distribute = false
|
||||||
|
|
||||||
[testenv:py26]
|
[testenv:py26]
|
||||||
basepython = python2.6
|
basepython = python2.6
|
||||||
|
|
||||||
|
|
||||||
[testenv:py34]
|
[testenv:py34]
|
||||||
basepython = python3.4
|
basepython = python3.4
|
||||||
|
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cli]
|
|
||||||
sitepackages = True
|
|
||||||
commands = {toxinidir}/tests/ci/rally-integrated.sh
|
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands = {toxinidir}/tests/ci/cover.sh {posargs}
|
commands = {toxinidir}/tests/ci/cover.sh {posargs}
|
||||||
|
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
changedir = doc/
|
changedir = doc/
|
||||||
commands = make html
|
commands = make html
|
||||||
|
|
||||||
[testenv:genconfig]
|
|
||||||
commands =
|
|
||||||
oslo-config-generator --config-file etc/rally/rally-config-generator.conf
|
|
||||||
|
|
||||||
[tox:jenkins]
|
[tox:jenkins]
|
||||||
downloadcache = ~/cache/pip
|
downloadcache = ~/cache/pip
|
||||||
|
|
||||||
@ -57,7 +47,3 @@ downloadcache = ~/cache/pip
|
|||||||
ignore = H703
|
ignore = H703
|
||||||
show-source = true
|
show-source = true
|
||||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools,build,setup.py
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools,build,setup.py
|
||||||
|
|
||||||
[hacking]
|
|
||||||
import_exceptions = rally.common.i18n
|
|
||||||
local-check-factory = tests.hacking.checks.factory
|
|
||||||
|
Loading…
Reference in New Issue
Block a user