[trivial] Rename tox jobs for zuul

This patchset renames the tox.ini jobs:

* lint => pep8

to comply with OpenStack standards [0]. This is needed so that [1]
works seamlessly (it will enable py35 and cover jobs for Pegleg).

[0] e.g. 04469a5181/tox.ini (L119)
[1] I174d5df008f6e000da1a3878afe75919312ea7aa

Change-Id: Ic3a5f2391e129cae32f60c0fb17197169df1b4c6
This commit is contained in:
Felipe Monteiro 2018-05-18 18:18:33 +01:00
parent d9e9803f4f
commit cf907430db
3 changed files with 5 additions and 5 deletions

View File

@ -71,7 +71,7 @@ clean:
.PHONY: py_lint
py_lint:
cd src/bin/pegleg;tox -e lint
cd src/bin/pegleg;tox -e pep8
.PHONY: py_format
py_format:

View File

@ -1,5 +1,5 @@
[tox]
envlist = py35, lint
envlist = py35, pep8
skipsdist = True
[testenv]
@ -19,7 +19,7 @@ deps = yapf==0.20.0
commands =
yapf --style=pep8 -ir {toxinidir}/pegleg {toxinidir}/tests
[testenv:lint]
[testenv:pep8]
deps =
yapf==0.20.0
flake8==3.5.0

View File

@ -1,5 +1,5 @@
[tox]
envlist = py35, lint, docs
envlist = py35, pep8, docs
# Allows docs to be built without setup.py having to exist. Requires that
# usedevelop be False as well (which it is by default).
skipsdist = True
@ -20,7 +20,7 @@ commands =
tox -c src/bin/pegleg/tox.ini -e fmt
whitelist_externals = tox
[testenv:lint]
[testenv:pep8]
commands =
tox -c src/bin/pegleg/tox.ini -e lint
whitelist_externals = tox