Fix pylint job

The old version of pylint we were using couldn't be installed because
of conflicting requirements versions, so update it to the most recent
pylint, 4.0.5, which supports python 3.14, since we will be supporting
it too.

Also update our lintstack scripts to use the modern name for do_exit,
namely, 'exit'.

Change-Id: I8d8bf8064aaea4e5de25634f0d86fb5e619b8503
Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
This commit is contained in:
Brian Rosmaita
2026-02-25 17:05:46 -05:00
parent db819a6584
commit 437551758e
2 changed files with 2 additions and 2 deletions

View File

@@ -153,7 +153,7 @@ def run_pylint():
args = [
"--msg-template='{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}'",
"-E", "cinderclient"]
lint.Run(args, reporter=reporter, do_exit=False)
lint.Run(args, reporter=reporter, exit=False)
val = buff.getvalue()
buff.close()
return val

View File

@@ -40,7 +40,7 @@ commands =
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
pylint==2.6.0
pylint==4.0.5
commands = bash tools/lintstack.sh
allowlist_externals = bash