style: Pin YAPF to 0.26.0
CI jobs are failing due to new YAPF style guidelines [0] that are not PEP8 compliant. This commit pins YAPF to 0.26.0 to prevent non-compliant regressions in the gate. [0] https://github.com/google/yapf/blob/master/CHANGELOG Change-Id: I030031f3748cddc5fce3020e7bcfe324b666cbd8
This commit is contained in:
parent
f8bc1ccb85
commit
163cacd973
|
@ -13,6 +13,6 @@ os-testr>=1.0.0 # Apache-2.0
|
||||||
flake8>=3.3.0
|
flake8>=3.3.0
|
||||||
mock
|
mock
|
||||||
responses>=0.8.1
|
responses>=0.8.1
|
||||||
yapf
|
yapf==0.26.0
|
||||||
|
|
||||||
grpcio-tools==1.16.0
|
grpcio-tools==1.16.0
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -66,7 +66,6 @@ commands =
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps =
|
deps =
|
||||||
yapf
|
|
||||||
.[bandit]
|
.[bandit]
|
||||||
{[testenv]deps}
|
{[testenv]deps}
|
||||||
commands =
|
commands =
|
||||||
|
@ -97,6 +96,7 @@ commands =
|
||||||
|
|
||||||
[testenv:yapf]
|
[testenv:yapf]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
deps = {[testenv]deps}
|
||||||
commands =
|
commands =
|
||||||
yapf -ir {toxinidir}/armada {toxinidir}/setup.py
|
yapf -ir {toxinidir}/armada {toxinidir}/setup.py
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue