mypy: Clarify type hints in zulip/integrations/.

This commit is contained in:
neiljp (Neil Pilgrim) 2019-11-06 06:31:30 -08:00 committed by Tim Abbott
parent 357a5e06f3
commit f81843f189
3 changed files with 4 additions and 4 deletions

View file

@ -37,7 +37,7 @@
# | other sender| x | | |
# public mode +-------------+-----+----+--------+----
# | self sender | | | |
from typing import Dict, List, Set
from typing import Dict, List, Set, Optional
import logging
import threading
@ -216,7 +216,7 @@ class ZulipToJabberBot(object):
def __init__(self, zulip_client):
# type: (Client) -> None
self.client = zulip_client
self.jabber = None
self.jabber = None # type: Optional[JabberToZulipBot]
def set_jabber_client(self, client):
# type: (JabberToZulipBot) -> None