unit_tests: fix test requirements for windows
Use a newer hacking and coverage version. The OpenStack upper requirements do not allow now for the hacking / coverage packages to be installed: ``` The user requested coverage!=4.4 and >=4.0 The user requested (constraint) coverage===7.6.7 ``` Added to the ignored flake rules: E741,H216,F522,H215,H211,E721. Change-Id: I4833aa467cd7dd69bf897b6bce2449cacc1dbc1e
This commit is contained in:
parent
8865a513e9
commit
36711bd1fc
@ -2,9 +2,8 @@
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
|
||||
hacking>=3.0.1,<3.1.0 # Apache-2.0
|
||||
|
||||
coverage!=4.4,>=4.0 # Apache-2.0
|
||||
hacking==6.1.0 # Apache-2.0
|
||||
coverage>=4.4.1 # Apache-2.0
|
||||
ddt>=1.0.1 # MIT
|
||||
docutils>=0.11 # OSI-Approved Open Source, Public Domain
|
||||
mock>=1.0 # BSD
|
||||
|
2
tox.ini
2
tox.ini
@ -46,5 +46,5 @@ commands =
|
||||
# E125 is deliberately excluded. See https://github.com/jcrocholl/pep8/issues/126
|
||||
# E251 Skipped due to https://github.com/jcrocholl/pep8/issues/301
|
||||
|
||||
ignore = E125,E251,W503,W504,E305,E731,E117,W605,F632
|
||||
ignore = E125,E251,W503,W504,E305,E731,E117,W605,F632,E741,H216,F522,H215,H211,E721
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools
|
||||
|
Loading…
x
Reference in New Issue
Block a user