mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
mypy: Set local_partial_types = True.
The daemon implicitly sets this flag, so set it explicitly and fix all of the type errors.
This commit is contained in:
committed by
Tim Abbott
parent
4a78c00397
commit
d5ee801d60
@@ -68,7 +68,7 @@ def tracemalloc_listen_sock(sock: socket.socket) -> None:
|
||||
sock.recv(1)
|
||||
tracemalloc_dump()
|
||||
|
||||
listener_pid = None # Optional[int]
|
||||
listener_pid = None # type: Optional[int]
|
||||
|
||||
def tracemalloc_listen() -> None:
|
||||
global listener_pid
|
||||
|
||||
Reference in New Issue
Block a user