Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which supports Python 3. blacklist: W504 line break after binary operator fix: E117 over-indented Change-Id: I5578956c5a3d496f16e41100c5a2f5e99b42f9a7
This commit is contained in:
parent
2f0bad48ba
commit
0b9cef46ec
@ -1,7 +1,7 @@
|
||||
# The order of packages is significant, because pip processes them in the order
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
hacking<0.11,>=0.10.0
|
||||
hacking>=2.0,<2.1 # Apache-2.0
|
||||
|
||||
# this is required for the tests
|
||||
oslotest>=3.2.0 # Apache-2.0
|
||||
|
@ -169,7 +169,7 @@ def _is_valid_command(ep_name, ep_module_name, valid_cmds):
|
||||
if (module_parts[0] == valid_module_parts[0] and
|
||||
module_parts[1] == valid_module_parts[1] and
|
||||
module_parts[3] == valid_module_parts[3]):
|
||||
return True
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user