From cdf08b69ef9e765beade69b8b33e80ad338897c9 Mon Sep 17 00:00:00 2001 From: Goutham Pacha Ravi Date: Tue, 5 Mar 2019 15:30:22 -0800 Subject: [PATCH] [Pylint] Bump pylint version to latest Older releases of pylint use an internal API of the astroid library that causes pylint exceptions when parsing modules. The errors are like: internal error with sending report for module ['manila/network/neutron/neutron_network_plugin.py'] 'Import' object has no attribute 'infer_name_module' So let's use the latest version available that doesn't have this issue. [1] https://github.com/PyCQA/astroid/issues/649 Change-Id: I6031111e5c72470313642307b4596806cd5408df --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index bc3b807d27..9cdb8c3863 100644 --- a/tox.ini +++ b/tox.ini @@ -106,7 +106,7 @@ commands = basepython = python3 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt - pylint==2.1.1 + pylint==2.3.1 whitelist_externals = bash commands = bash ./tools/coding-checks.sh --pylint {posargs}