From 238eb8a0a1e02bbe491ebcfd34c3bda1b5f19cac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Mon, 30 Dec 2019 17:16:15 +0100 Subject: [PATCH] E2EEPlugin: Mute some lint warnings because of metaclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/plugin_e2ee.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/poezio/plugin_e2ee.py b/poezio/plugin_e2ee.py index 2104a628..bcaba5e3 100644 --- a/poezio/plugin_e2ee.py +++ b/poezio/plugin_e2ee.py @@ -395,8 +395,10 @@ class E2EEPlugin(BasePlugin): # Call the enabled encrypt method func = self._enabled_tabs[jid] if iscoroutinefunction(func): + # pylint: disable=unexpected-keyword-arg await func(message, tab, passthrough=True) else: + # pylint: disable=unexpected-keyword-arg func(message, tab, passthrough=True) if has_body: