mirror of
https://github.com/zulip/zulip.git
synced 2025-11-19 05:58:25 +00:00
mypy: Enable local_partial_types.
dmypy is innately incompatible with `local_partial_types` being `False` as it uses fined-grained incremental mode for caching. We need to enable `local_partial_types` for mypy as well so that the two will behave the same way. This requires us to add additional type annotation in certain siuations but that's fine. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
bf9f9c8b5d
commit
b3f27b1843
@@ -338,7 +338,7 @@ def print_listeners() -> None:
|
||||
print()
|
||||
|
||||
|
||||
children = []
|
||||
children: List["subprocess.Popen[bytes]"] = []
|
||||
|
||||
|
||||
async def serve() -> None:
|
||||
|
||||
Reference in New Issue
Block a user