From cab6bf87b4c873a340444ba33c92e1a0d37574dc Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 2 Dec 2015 17:53:59 +0100 Subject: [PATCH] tox: Update to pylint 1.5.1. * Don't emit unsubscriptable-object if the node is found inside an abstract class. * Add wrong-import-position to check_messages's decorator arguments for ImportChecker.leave_module This fixes an esoteric bug which occurs when ungrouped-imports and wrong-import-order are disabled and pylint is executed on multiple files. What happens is that without wrong-import-position in check_messages, leave_module will never be called, which means that the first non-import node from other files might leak into the current file, leading to wrong-import-position being emitted by pylint. * Fix a crash which occurred when old visit methods are encountered in plugin modules. * Don't emit import-self and cyclic-import for relative imports of modules with the same name as the package itself. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 7b5da34d1..9d1075239 100644 --- a/tox.ini +++ b/tox.ini @@ -106,7 +106,7 @@ deps = {[testenv]deps} {[testenv:misc]deps} astroid==1.4.1 - pylint==1.5.0 + pylint==1.5.1 requests==2.8.1 commands = {envpython} scripts/link_pyqt.py --tox {envdir}