Add returns
type hint in EventManager.py.call
This commit is contained in:
parent
809efc6793
commit
bae1fac147
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class EventHook(object):
|
||||||
) -> typing.List[typing.Any]:
|
) -> typing.List[typing.Any]:
|
||||||
event_path = self._get_path()
|
event_path = self._get_path()
|
||||||
hooks = self.get_hooks()
|
hooks = self.get_hooks()
|
||||||
returns = []
|
returns = [] # type: typing.List[typing.Any]
|
||||||
|
|
||||||
if not hooks:
|
if not hooks:
|
||||||
self.log.trace("not calling non-hooked event \"%s\" (params: %s)",
|
self.log.trace("not calling non-hooked event \"%s\" (params: %s)",
|
||||||
|
|
Loading…
Reference in a new issue