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
This commit is contained in:
parent
fb0e2443bd
commit
f74422ef38
@ -1,5 +1,4 @@
|
|||||||
hacking>=0.5.6,<0.7
|
hacking>=0.5.6,<0.8
|
||||||
|
|
||||||
coverage>=3.6
|
coverage>=3.6
|
||||||
discover
|
discover
|
||||||
fixtures>=0.3.12
|
fixtures>=0.3.12
|
||||||
|
3
tox.ini
3
tox.ini
@ -27,8 +27,9 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|||||||
downloadcache = ~/cache/pip
|
downloadcache = ~/cache/pip
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
|
# H202: assertRaises Exception too broad
|
||||||
# F821: undefined name
|
# F821: undefined name
|
||||||
# H304: no relative imports
|
# H304: no relative imports
|
||||||
ignore = F821,H304
|
ignore = F821,H202,H304
|
||||||
show-source = True
|
show-source = True
|
||||||
exclude = .venv,.tox,dist,doc,*egg,build
|
exclude = .venv,.tox,dist,doc,*egg,build
|
||||||
|
Loading…
Reference in New Issue
Block a user