Merge "[trivial] Rename tox jobs for zuul"
This commit is contained in:
commit
a7f569ce2b
2
Makefile
2
Makefile
@ -79,7 +79,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:
|
||||
|
@ -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
|
||||
|
4
tox.ini
4
tox.ini
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user