From df98312f429642c37b03e05f17245cafe36a71a3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin <git@the-compiler.org> Date: Tue, 12 Jan 2016 08:05:27 +0100 Subject: [PATCH] tox: Update pylint to 1.5.3. * Handle the import fallback idiom with regard to wrong-import-order. * Decouple the displaying of reports from the displaying of messages Some reporters are aggregating the messages instead of displaying them when they are available. The actual displaying was conflatted in the generate_reports. Unfortunately this behaviour was flaky and in the case of the JSON reporter, the messages weren't shown at all if a file had syntax errors or if it was missing. In order to fix this, the aggregated messages can now be displayed with Reporter.display_message, while the reports are displayed with display_reports. * Ignore function calls with variadic arguments without a context. Inferring variadic positional arguments and keyword arguments will result into empty Tuples and Dicts, which can lead in some cases to false positives with regard to no-value-for-parameter. In order to avoid this, until we'll have support for call context propagation, we're ignoring such cases if detected. * Treat AsyncFunctionDef just like FunctionDef nodes, by implementing visit_asyncfunctiondef in terms of visit_functiondef. * Take in account kwonlyargs when verifying that arguments are defined with the check_docs extension. * Suppress reporting 'unneeded-not' inside `__ne__` methods --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 8e27b924f..fd0b09c32 100644 --- a/tox.ini +++ b/tox.ini @@ -107,7 +107,7 @@ deps = {[testenv]deps} {[testenv:misc]deps} astroid==1.4.3 - pylint==1.5.2 + pylint==1.5.3 requests==2.9.1 commands = {envpython} scripts/link_pyqt.py --tox {envdir}