From 63f46f4bbb7babe1d26729e4beb7bf342b74c5da Mon Sep 17 00:00:00 2001 From: Zixuan James Li Date: Mon, 22 May 2023 17:03:27 -0400 Subject: [PATCH] zephyr: Add missing return type annotation. Signed-off-by: Zixuan James Li --- zulip/integrations/zephyr/zephyr_mirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zulip/integrations/zephyr/zephyr_mirror.py b/zulip/integrations/zephyr/zephyr_mirror.py index 2bb0b991..d164bb62 100755 --- a/zulip/integrations/zephyr/zephyr_mirror.py +++ b/zulip/integrations/zephyr/zephyr_mirror.py @@ -43,7 +43,7 @@ if options.forward_class_messages and not options.noshard: process = await asyncio.create_subprocess_exec(*args, f"--shard={shard}") return await process.wait() - async def run_shards(): + async def run_shards() -> None: for coro in asyncio.as_completed(map(run_shard, shards)): await coro print("A mirroring shard died!")