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:
Drew Walters 2019-04-08 19:08:00 +00:00
parent f8bc1ccb85
commit 163cacd973
2 changed files with 2 additions and 2 deletions

View File

@ -13,6 +13,6 @@ os-testr>=1.0.0 # Apache-2.0
flake8>=3.3.0
mock
responses>=0.8.1
yapf
yapf==0.26.0
grpcio-tools==1.16.0

View File

@ -66,7 +66,6 @@ commands =
[testenv:pep8]
basepython = python3
deps =
yapf
.[bandit]
{[testenv]deps}
commands =
@ -97,6 +96,7 @@ commands =
[testenv:yapf]
basepython = python3
deps = {[testenv]deps}
commands =
yapf -ir {toxinidir}/armada {toxinidir}/setup.py