Skip to content

Commit 755dabd

Browse files
committed
Bump pylint to 2.6.0
The current version does not work anymore with the current testing stack. Due to the bump, the wrapper needed a few changes (maybe it could be dropped at some point? Version 2.3.0 (used by cinder right now) was considered too, but it requires a specific version of isort: PyCQA/isort#1273 Change-Id: I07fa32e7f49bde041d101a2d09860d0bc27acda0
1 parent 7e3566e commit 755dabd

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, exit=False)
156+
lint.Run(args, reporter=reporter, do_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
@@ -38,7 +38,7 @@ commands =
3838
deps =
3939
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
4040
-r{toxinidir}/requirements.txt
41-
pylint==1.9.1
41+
pylint==2.6.0
4242
commands = bash tools/lintstack.sh
4343
whitelist_externals = bash
4444

0 commit comments

Comments
 (0)