[trivial] Rename tox jobs for zuul
This patchset renames the tox.ini jobs:
* coverage => cover
* lint => pep8
* unit => py35
to comply with OpenStack standards [0].
[0] e.g. 04469a5181/tox.ini (L119)
Change-Id: I1a542c5e36f29d3788df8a5ebdce3cbe49ab4046
This commit is contained in:
parent
376689693f
commit
ed65d983f7
4
Makefile
4
Makefile
@ -36,11 +36,11 @@ docs:
|
||||
|
||||
.PHONY: tests-unit
|
||||
tests-unit:
|
||||
tox -e unit
|
||||
tox -e py35
|
||||
|
||||
.PHONY: tests-pep8
|
||||
tests-pep8:
|
||||
tox -e lint
|
||||
tox -e pep8
|
||||
|
||||
chartbanner:
|
||||
@echo Building charts: $(CHARTS)
|
||||
|
@ -15,6 +15,6 @@
|
||||
- hosts: primary
|
||||
tasks:
|
||||
- name: Execute a Whitespace Linter check
|
||||
command: find . -not -path "*/\.*" -not -path "*/docs/build/*" -not -name "*.tgz" -type f -exec egrep -l " +$" {} \;
|
||||
command: find . -not -path "*/\.*" -not -path "*/doc/build/*" -not -name "*.tgz" -type f -exec egrep -l " +$" {} \;
|
||||
register: result
|
||||
failed_when: result.stdout != ""
|
||||
|
6
tox.ini
6
tox.ini
@ -1,10 +1,10 @@
|
||||
[tox]
|
||||
envlist = lint,unit,bandit,docs
|
||||
envlist = pep8,py35,bandit,docs
|
||||
|
||||
[testenv]
|
||||
basepython=python3
|
||||
|
||||
[testenv:unit]
|
||||
[testenv:py35]
|
||||
setenv =
|
||||
PYTHONWARNING=all
|
||||
deps = -r{toxinidir}/requirements-frozen.txt
|
||||
@ -48,7 +48,7 @@ whitelist_externals = sh
|
||||
commands =
|
||||
{toxinidir}/tools/lint_gate.sh
|
||||
|
||||
[testenv:lint]
|
||||
[testenv:pep8]
|
||||
deps =
|
||||
yapf==0.20.0
|
||||
flake8==3.5.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user