Skip to content

Commit 36711bd

Browse files
committed
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
1 parent 8865a51 commit 36711bd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

test-requirements.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
# of appearance. Changing the order has an impact on the overall integration
33
# process, which may cause wedges in the gate later.
44

5-
hacking>=3.0.1,<3.1.0 # Apache-2.0
6-
7-
coverage!=4.4,>=4.0 # Apache-2.0
5+
hacking==6.1.0 # Apache-2.0
6+
coverage>=4.4.1 # Apache-2.0
87
ddt>=1.0.1 # MIT
98
docutils>=0.11 # OSI-Approved Open Source, Public Domain
109
mock>=1.0 # BSD

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ commands =
4646
# E125 is deliberately excluded. See https://github.com/jcrocholl/pep8/issues/126
4747
# E251 Skipped due to https://github.com/jcrocholl/pep8/issues/301
4848

49-
ignore = E125,E251,W503,W504,E305,E731,E117,W605,F632
49+
ignore = E125,E251,W503,W504,E305,E731,E117,W605,F632,E741,H216,F522,H215,H211,E721
5050
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools

0 commit comments

Comments
 (0)