pylint: Upgrade to 3.0
pylint 3.0 is required to support Python 3.12. Change-Id: I20a6d061260b8ddc6dd60fdcd98d9d1683acd068
This commit is contained in:
parent
e5b7b41ae9
commit
ccc2646a0c
@ -44,6 +44,8 @@ from cinder.volume import volume_utils
|
|||||||
|
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
from os_win import utilsfactory as os_win_utilsfactory
|
from os_win import utilsfactory as os_win_utilsfactory
|
||||||
|
else:
|
||||||
|
os_win_utilsfactory = None
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -4327,6 +4327,7 @@ class PowerMaxCommon(object):
|
|||||||
resume_original_sg_dict = dict()
|
resume_original_sg_dict = dict()
|
||||||
rdf_pair_broken = False
|
rdf_pair_broken = False
|
||||||
resume_original_sg = False
|
resume_original_sg = False
|
||||||
|
rep_extra_specs = dict()
|
||||||
is_partitioned = False
|
is_partitioned = False
|
||||||
if (was_rep_enabled and not is_rep_enabled) or backend_ids_differ:
|
if (was_rep_enabled and not is_rep_enabled) or backend_ids_differ:
|
||||||
if self.promotion:
|
if self.promotion:
|
||||||
|
2
tox.ini
2
tox.ini
@ -107,7 +107,7 @@ allowlist_externals =
|
|||||||
install_command = {[testenv:py3]install_command}
|
install_command = {[testenv:py3]install_command}
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
pylint==2.17.0
|
pylint==3.0.2
|
||||||
commands =
|
commands =
|
||||||
{toxinidir}/tools/coding-checks.sh --pylint {posargs:all}
|
{toxinidir}/tools/coding-checks.sh --pylint {posargs:all}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user