Upgrade to latest hacking - v6
Required minor changes to existing files to comply with new flake rules. Change-Id: Ia0bff27ab4a7ec98c533ea66357a3c0529026102
This commit is contained in:
@@ -1662,7 +1662,7 @@ class NetworkInterface(BaseInterface):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def need_power_on(self, task):
|
def need_power_on(self, task):
|
||||||
"""Check if ironic node must be powered on before applying network changes
|
"""Check if node must be powered on before applying network changes
|
||||||
|
|
||||||
:param task: A TaskManager instance.
|
:param task: A TaskManager instance.
|
||||||
:returns: Boolean.
|
:returns: Boolean.
|
||||||
|
|||||||
2
tox.ini
2
tox.ini
@@ -37,7 +37,7 @@ commands = {toxinidir}/tools/states_to_dot.py -f {toxinidir}/doc/source/images/s
|
|||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
usedevelop = False
|
usedevelop = False
|
||||||
deps=
|
deps=
|
||||||
hacking>=4.1.0,<5.0.0 # Apache-2.0
|
hacking~=6.0.0 # Apache-2.0
|
||||||
doc8>=0.6.0 # Apache-2.0
|
doc8>=0.6.0 # Apache-2.0
|
||||||
pycodestyle>=2.0.0,<3.0.0 # MIT
|
pycodestyle>=2.0.0,<3.0.0 # MIT
|
||||||
flake8-import-order>=0.17.1 # LGPLv3
|
flake8-import-order>=0.17.1 # LGPLv3
|
||||||
|
|||||||
Reference in New Issue
Block a user