mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-18 19:41:34 +00:00
[ruff-ecosystem] Fix CLI crash on Python 3.14 (#21092)
This commit is contained in:
parent
5139f76d1f
commit
980b4c55b2
3 changed files with 5 additions and 4 deletions
|
|
@ -528,7 +528,8 @@ if __name__ == "__main__":
|
|||
else:
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
loop = asyncio.get_event_loop()
|
||||
loop = asyncio.new_event_loop()
|
||||
asyncio.set_event_loop(loop)
|
||||
if args.checkouts:
|
||||
args.checkouts.mkdir(exist_ok=True, parents=True)
|
||||
main_task = asyncio.ensure_future(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue