Skip to content

Commit 4375517

Browse files
committed
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>
1 parent db819a6 commit 4375517

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tools/lintstack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def run_pylint():
153153
args = [
154154
"--msg-template='{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}'",
155155
"-E", "cinderclient"]
156-
lint.Run(args, reporter=reporter, do_exit=False)
156+
lint.Run(args, reporter=reporter, exit=False)
157157
val = buff.getvalue()
158158
buff.close()
159159
return val

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ commands =
4040
deps =
4141
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
4242
-r{toxinidir}/requirements.txt
43-
pylint==2.6.0
43+
pylint==4.0.5
4444
commands = bash tools/lintstack.sh
4545
allowlist_externals = bash
4646

0 commit comments

Comments
 (0)