Fix error from upcoming typeshed change (#2096)
See python/typeshed#5190
This commit is contained in:
parent
8e0803e7e5
commit
4d36304a2c
@ -847,7 +847,7 @@ async def schedule_formatting(
|
||||
): src
|
||||
for src in sorted(sources)
|
||||
}
|
||||
pending: Iterable["asyncio.Future[bool]"] = tasks.keys()
|
||||
pending = tasks.keys()
|
||||
try:
|
||||
loop.add_signal_handler(signal.SIGINT, cancel, pending)
|
||||
loop.add_signal_handler(signal.SIGTERM, cancel, pending)
|
||||
|
Loading…
Reference in New Issue
Block a user