zephyr: Add missing return type annotation.

Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
Zixuan James Li 2023-05-22 17:03:27 -04:00 committed by Tim Abbott
parent 02586f1d34
commit 63f46f4bbb

View file

@ -43,7 +43,7 @@ if options.forward_class_messages and not options.noshard:
process = await asyncio.create_subprocess_exec(*args, f"--shard={shard}") process = await asyncio.create_subprocess_exec(*args, f"--shard={shard}")
return await process.wait() return await process.wait()
async def run_shards(): async def run_shards() -> None:
for coro in asyncio.as_completed(map(run_shard, shards)): for coro in asyncio.as_completed(map(run_shard, shards)):
await coro await coro
print("A mirroring shard died!") print("A mirroring shard died!")