mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 08:33:43 +00:00
mypy: Fix missing type annotation in tornado code.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import logging
|
||||
import select
|
||||
import time
|
||||
from typing import Any, List, Tuple
|
||||
from typing import Any, Dict, List, Tuple
|
||||
|
||||
from django.conf import settings
|
||||
from tornado.ioloop import IOLoop, PollIOLoop
|
||||
@@ -13,7 +13,7 @@ orig_poll_impl = select.epoll
|
||||
|
||||
# This is used for a somewhat hacky way of passing the port number
|
||||
# into this early-initialized module.
|
||||
logging_data = {}
|
||||
logging_data = {} # type: Dict[str, str]
|
||||
|
||||
class InstrumentedPollIOLoop(PollIOLoop):
|
||||
def initialize(self, **kwargs): # type: ignore # TODO investigate likely buggy monkey patching here
|
||||
|
||||
Reference in New Issue
Block a user