From f74422ef38b4cb472e57e47fd062c7d536cff183 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 2 Sep 2013 21:34:59 +0200 Subject: [PATCH] Allow Hacking 0.7.x or later Allow newer versions of Hacking as well, which permits further checks to be used for gating. Suppress H202 for now to pass tests. Change-Id: I75ab26df94b5dd8b8b05f4ada2ca6831d8584a75 --- test-requirements.txt | 3 +-- tox.ini | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index e179cdae..9219bc7b 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,5 +1,4 @@ -hacking>=0.5.6,<0.7 - +hacking>=0.5.6,<0.8 coverage>=3.6 discover fixtures>=0.3.12 diff --git a/tox.ini b/tox.ini index c41c8b8b..bc0144a2 100644 --- a/tox.ini +++ b/tox.ini @@ -27,8 +27,9 @@ commands = python setup.py testr --coverage --testr-args='{posargs}' downloadcache = ~/cache/pip [flake8] +# H202: assertRaises Exception too broad # F821: undefined name # H304: no relative imports -ignore = F821,H304 +ignore = F821,H202,H304 show-source = True exclude = .venv,.tox,dist,doc,*egg,build