From cebe77fdb09a9b1ad10f4ecd1275723cb09db8ad Mon Sep 17 00:00:00 2001 From: ricolin Date: Thu, 2 Mar 2017 20:33:05 +0800 Subject: [PATCH] [Fix gate]Update test requirement Since pbr already landed and the old version of hacking seems not work very well with pbr>=2, we should update it to match global requirement. Partial-Bug: #1668848 Change-Id: I11191b14edd3870b5a4443a2ef9b219cb46ddb36 --- test-requirements.txt | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index bd42464..2b0d3d0 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,7 +2,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. # Hacking already pins down pep8, pyflakes and flake8 -hacking<0.10,>=0.9.2 +hacking>=0.12.0,!=0.13.0,<0.14 # Apache-2.0 coverage>=4.0 # Apache-2.0 mock>=2.0 # BSD oslo.config!=3.18.0,>=3.14.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index e8f1878..3ebba29 100644 --- a/tox.ini +++ b/tox.ini @@ -64,6 +64,6 @@ commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenote # H904 Wrap long lines in parentheses instead of a backslash # See designate for other ignored codes that may apply here -ignore = H302,H402,H404,H405,H904 +ignore = H105, H302,H402,H404,H405,H904 builtins = _ exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools