# HG changeset patch # User Chaiwat Suttipongsakul # Date 1718707736 -25200 # Tue Jun 18 17:48:56 2024 +0700 # Node ID 0a70b291e3de37931b6cc4c253906d7341c9a106 # Parent 9ad92be3e266c7c1ce30546970c6dd830cd2d028 black diff --git a/hydra.py b/hydra.py --- a/hydra.py +++ b/hydra.py @@ -38,7 +38,7 @@ LINES = 1000 try: - if sys.platform == 'win32': + if sys.platform == "win32": import winloop as uvloop else: import uvloop @@ -295,7 +295,9 @@ if uvloop: asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) if args.version: - print(f'Hydra-{VERSION} powered by {asyncio.get_event_loop_policy().__module__}') + print( + f"Hydra-{VERSION} powered by {asyncio.get_event_loop_policy().__module__}" + ) asyncio.run( main( host_file,