Merge "Update hacking for Python3"

This commit is contained in:
Zuul 2020-03-31 20:27:38 +00:00 committed by Gerrit Code Review
commit d4877e7d56
3 changed files with 3 additions and 3 deletions

View File

@ -142,7 +142,7 @@ def stress_openstack(tests, duration, max_runs=None, stop_on_error=False):
if test.get('use_admin', False):
manager = admin_manager
else:
raise NotImplemented('Non admin tests are not supported')
raise NotImplementedError('Non admin tests are not supported')
for p_number in range(test.get('threads', default_thread_num)):
if test.get('use_isolated_tenants', False):
username = data_utils.rand_name("stress_user")

View File

@ -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.12,>=0.11.0 # Apache-2.0
hacking>=3.0,<3.1.0 # Apache-2.0
coverage>=3.6 # Apache-2.0
stestr>=1.0.0 # Apache-2.0

View File

@ -49,6 +49,6 @@ commands = oslo_debug_helper {posargs}
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125
ignore = E123,E125,W503,W504
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build