Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Change-Id: I7a43ff6d91bad919dcaa450e66ef492a1d3a03ef
This commit is contained in:
@@ -104,6 +104,7 @@ class BashCompletionCommand(openstack_command.OpenStackCommand):
|
|||||||
"""Prints all of the commands and options for bash-completion."""
|
"""Prints all of the commands and options for bash-completion."""
|
||||||
resource = "bash_completion"
|
resource = "bash_completion"
|
||||||
|
|
||||||
|
|
||||||
COMMAND_V1 = {
|
COMMAND_V1 = {
|
||||||
'bash-completion': BashCompletionCommand,
|
'bash-completion': BashCompletionCommand,
|
||||||
'ext-list': extension.ListExt,
|
'ext-list': extension.ListExt,
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
# of appearance. Changing the order has an impact on the overall integration
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
|
|
||||||
hacking>=1.1.0,<1.2.0 # Apache-2.0
|
hacking>=3.0,<3.1.0 # Apache-2.0
|
||||||
coverage!=4.4,>=4.0 # Apache-2.0
|
coverage!=4.4,>=4.0 # Apache-2.0
|
||||||
ddt>=1.0.1 # MIT
|
ddt>=1.0.1 # MIT
|
||||||
fixtures>=3.0.0 # Apache-2.0/BSD
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
||||||
|
3
tox.ini
3
tox.ini
@@ -46,7 +46,8 @@ commands =
|
|||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# E125 continuation line does not distinguish itself from next logical line
|
# E125 continuation line does not distinguish itself from next logical line
|
||||||
ignore = E125
|
# W504 line break after binary operator
|
||||||
|
ignore = E125,W504
|
||||||
show-source = true
|
show-source = true
|
||||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
|
||||||
# F821 undefined name 'unicode'
|
# F821 undefined name 'unicode'
|
||||||
|
Reference in New Issue
Block a user