From 6237c1bffd540d9d2688e2206146600d5846ece6 Mon Sep 17 00:00:00 2001 From: Brant Knudson Date: Sun, 11 Jan 2015 12:19:36 -0600 Subject: [PATCH] Move to hacking 0.10 Release notes: http://git.openstack.org/cgit/openstack-dev/hacking/tag/?id=0.10.0 H803 is no longer checked by hacking per the release notes. H904 is no longer checked by hacking. Change-Id: Ifaf62839a4b6da62a3b380396158b463c1381026 --- test-requirements.txt | 2 +- tox.ini | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index f8e2411af..79b5e7574 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.9.2,<0.10 +hacking>=0.10.0,<0.11 coverage>=3.6 discover diff --git a/tox.ini b/tox.ini index 57db9c0ad..f37618b2c 100644 --- a/tox.ini +++ b/tox.ini @@ -33,11 +33,10 @@ commands = oslo_debug_helper -t keystoneclient/tests {posargs} [flake8] # F821: undefined name # H304: no relative imports -# H803 Commit message should not end with a period (do not remove per list discussion) # H405: multi line docstring summary not separated with an empty line # E122: continuation line missing indentation or outdented -# H904: Wrap long lines in parentheses instead of a backslash -ignore = F821,H304,H803,H405,E122,H904 +# New from hacking 0.10: H238,W292 +ignore = F821,H238,H304,H405,E122,W292 show-source = True exclude = .venv,.tox,dist,doc,*egg,build,*openstack/common*