From bae1fac1476225b6d16fda468b7f224f9d81c9e9 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 6 Dec 2018 10:15:12 +0000 Subject: [PATCH] Add `returns` type hint in EventManager.py.call --- src/EventManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventManager.py b/src/EventManager.py index 3d9c09e4..cafedb4e 100644 --- a/src/EventManager.py +++ b/src/EventManager.py @@ -180,7 +180,7 @@ class EventHook(object): ) -> typing.List[typing.Any]: event_path = self._get_path() hooks = self.get_hooks() - returns = [] + returns = [] # type: typing.List[typing.Any] if not hooks: self.log.trace("not calling non-hooked event \"%s\" (params: %s)",