From c228bc934ef6acfc6122d994f5f97b70a808a97f Mon Sep 17 00:00:00 2001 From: Wojtek Porczyk Date: Thu, 2 Mar 2017 13:08:25 +0100 Subject: [PATCH] ci/pylintrc: disable deprecated-method Pylint deprecated-method report interferes with asyncio.ensure_future compatibility monkeypatch. The function asyncio.async was renamed between 3.4.3 (fc23) and 3.4.4 (what is currently on Travis). For reference, debian stable has 3.4.2. --- ci/pylintrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/pylintrc b/ci/pylintrc index f2f20268..8339104d 100644 --- a/ci/pylintrc +++ b/ci/pylintrc @@ -4,10 +4,13 @@ ignore=tests,backup.py [MESSAGES CONTROL] # abstract-class-little-used: see http://www.logilab.org/ticket/111138 +# deprecated-method: +# enable again after disabling py-3.4.3 asyncio.ensure_future compat hack disable= abstract-class-little-used, bad-continuation, cyclic-import, + deprecated-method, duplicate-code, file-ignored, fixme, @@ -17,8 +20,6 @@ disable= missing-docstring, star-args -confidence=HIGH,INFERENCE,INFERENCE_FAILURE - [REPORTS] # Set the output format. Available formats are text, parseable, colorized, msvs