From c6dbf3344d2bb09f8a0372884f4467836c0ba44d Mon Sep 17 00:00:00 2001 From: Sean Eagan Date: Mon, 10 Sep 2018 13:01:05 -0500 Subject: [PATCH] Pin yapf version The output with yapf version 0.24.0 has some changes which are in conflict with the flake8 E126 rule. Hence pinning to <=0.23.0 for now. Change-Id: I80b4094673eeca6dddc4fde0c324e0f5d9ec5d99 --- test-requirements.txt | 3 ++- tox.ini | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 0f49ac07..cd500a4e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -13,4 +13,5 @@ os-testr>=1.0.0 # Apache-2.0 flake8>=3.3.0 mock responses>=0.8.1 -yapf +# TODO: Resolve issues with >=0.24.0 +yapf<=0.23.0 diff --git a/tox.ini b/tox.ini index 768ac6e5..8e489a08 100644 --- a/tox.ini +++ b/tox.ini @@ -65,7 +65,6 @@ commands = [testenv:pep8] basepython = python3 deps = - yapf .[bandit] {[testenv]deps} commands =