summaryrefslogtreecommitdiff
path: root/poezio/core/core.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2022-08-21 17:34:07 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2022-08-21 20:57:26 +0200
commitf3a751b3953032a8eb73af96a725cef902bde020 (patch)
tree7eb9173caaec479ab124be24ed605814ae5d23b0 /poezio/core/core.py
parent940f5e0c8a695048e6b7dfd3dd13e49e0c3476a5 (diff)
downloadpoezio-f3a751b3953032a8eb73af96a725cef902bde020.tar.gz
poezio-f3a751b3953032a8eb73af96a725cef902bde020.tar.bz2
poezio-f3a751b3953032a8eb73af96a725cef902bde020.tar.xz
poezio-f3a751b3953032a8eb73af96a725cef902bde020.zip
mypy: Type some more things
This lets us pass under mypy 0.971, and is yet another step towards mypyc compatibility perhaps.
Diffstat (limited to 'poezio/core/core.py')
-rw-r--r--poezio/core/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index 7690e769..6582402d 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -276,7 +276,7 @@ class Core:
self.key_func.try_execute = self.try_execute
# Add handlers
- xmpp_event_handlers = [
+ xmpp_event_handlers: List[Tuple[str, Callable[..., Any]]] = [
('attention', self.handler.on_attention),
('carbon_received', self.handler.on_carbon_received),
('carbon_sent', self.handler.on_carbon_sent),