Skip to content

Commit

Permalink
Bump pylint to 2.6.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tosky committed Feb 19, 2021
1 parent 7e3566e commit 755dabd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/lintstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def run_pylint():
args = [
"--msg-template='{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}'",
"-E", "cinderclient"]
lint.Run(args, reporter=reporter, exit=False)
lint.Run(args, reporter=reporter, do_exit=False)
val = buff.getvalue()
buff.close()
return val
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ commands =
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
pylint==1.9.1
pylint==2.6.0
commands = bash tools/lintstack.sh
whitelist_externals = bash

Expand Down

0 comments on commit 755dabd

Please sign in to comment.