From ade538424d3514697c8f920dad080959c697aaec Mon Sep 17 00:00:00 2001 From: Rajiv Kumar Date: Mon, 9 Jan 2017 08:30:55 +0530 Subject: [PATCH] H402 hacking have been deprecated H402 hacking have been removed since hacking 0.10. https://github.com/openstack-dev/hacking/blob/master/setup.cfg. So removed H402 ignore statement Closes-Bug: #1654117 Change-Id: I31b160cc4267b9f3f77a6a75d671b695e509ee3f --- test-requirements.txt | 2 +- tox.ini | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 1285fe4678..359df8d7b0 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<0.10,>=0.9.2 +hacking>=0.12.0,!=0.13.0,<0.14 # Apache-2.0 coverage>=4.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD diff --git a/tox.ini b/tox.ini index 9178c1032f..791681a881 100644 --- a/tox.ini +++ b/tox.ini @@ -92,13 +92,12 @@ commands = sphinx-build -W -b html doc/source doc/build/html # E265 block comment should start with ‘# ‘ # H305 imports not grouped correctly # H307 like imports should be grouped together -# H402 one line docstring needs punctuation # H404 multi line docstring should start with a summary # H405 multi line docstring summary not separated with an empty line # H904 Wrap long lines in parentheses instead of a backslash # TODO(dougwig) -- uncomment this to test for remaining linkages # N530 direct neutron imports not allowed -ignore = E125,E126,E128,E129,E265,H305,H307,H402,H404,H405,H904,N530 +ignore = E125,E126,E128,E129,E265,H305,H307,H404,H405,H904,N530 show-source = true builtins = _ exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,.ropeproject