[ruff-ecosystem] Fix CLI crash on Python 3.14 (#21092)

This commit is contained in:
Dan Parizher
2025-10-29 17:37:39 -04:00
committed by GitHub
parent 5139f76d1f
commit 980b4c55b2
3 changed files with 5 additions and 4 deletions

View File

@@ -87,7 +87,8 @@ def entrypoint():
)
with cache_context as cache:
loop = asyncio.get_event_loop()
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
main_task = asyncio.ensure_future(
main(
command=RuffCommand(args.ruff_command),