pylint: Upgrade to 3.0

pylint 3.0 is required to support Python 3.12.

Change-Id: I20a6d061260b8ddc6dd60fdcd98d9d1683acd068
This commit is contained in:
Eric Harney 2023-11-29 12:03:13 -05:00
parent e5b7b41ae9
commit ccc2646a0c
3 changed files with 4 additions and 1 deletions

View File

@ -44,6 +44,8 @@ from cinder.volume import volume_utils
if sys.platform == 'win32':
from os_win import utilsfactory as os_win_utilsfactory
else:
os_win_utilsfactory = None
LOG = logging.getLogger(__name__)

View File

@ -4327,6 +4327,7 @@ class PowerMaxCommon(object):
resume_original_sg_dict = dict()
rdf_pair_broken = False
resume_original_sg = False
rep_extra_specs = dict()
is_partitioned = False
if (was_rep_enabled and not is_rep_enabled) or backend_ids_differ:
if self.promotion:

View File

@ -107,7 +107,7 @@ allowlist_externals =
install_command = {[testenv:py3]install_command}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
pylint==2.17.0
pylint==3.0.2
commands =
{toxinidir}/tools/coding-checks.sh --pylint {posargs:all}