Make pep8 *the* linting interface
According to the PTI (=Python Test Interface, http://governance.openstack.org/reference/cti/python_cti.html), pep8 is the interface for codestyle checks. Move all tests from linters to pep8. This change will be followed by a change to project-config to use pep8 for testing in the gate. Needed-By: I8d83c049165cfffd165b2e83b2ed37c1407849e3 Change-Id: Iab513d7f3a087ff7042be5cf00be4a4d2677e2cd
This commit is contained in:
parent
977b5d1e7d
commit
15a9334518
8
tox.ini
8
tox.ini
@ -1,6 +1,6 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
envlist = py27,linters
|
envlist = py27,pep8
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
@ -20,6 +20,12 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|||||||
[testenv:genconfig]
|
[testenv:genconfig]
|
||||||
commands = oslo-config-generator --config-file=etc/terracotta-config-generator.conf
|
commands = oslo-config-generator --config-file=etc/terracotta-config-generator.conf
|
||||||
|
|
||||||
|
[testenv:pep8]
|
||||||
|
commands =
|
||||||
|
bash tools/flake8wrap.sh {posargs}
|
||||||
|
|
||||||
|
# Temporary environment until infra jobs are changed.
|
||||||
|
# TODO(jaegerandi): remove this
|
||||||
[testenv:linters]
|
[testenv:linters]
|
||||||
commands =
|
commands =
|
||||||
bash tools/flake8wrap.sh {posargs}
|
bash tools/flake8wrap.sh {posargs}
|
||||||
|
Loading…
Reference in New Issue
Block a user