mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Lint
This commit is contained in:
@@ -28,6 +28,7 @@ def set_loop() -> None:
|
|||||||
|
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
if hasattr(asyncio, 'WindowsProactorEventLoopPolicy'):
|
if hasattr(asyncio, 'WindowsProactorEventLoopPolicy'):
|
||||||
|
# pylint: disable=no-member
|
||||||
policy = asyncio.WindowsProactorEventLoopPolicy()
|
policy = asyncio.WindowsProactorEventLoopPolicy()
|
||||||
else:
|
else:
|
||||||
class ProactorPolicy(BaseDefaultEventLoopPolicy):
|
class ProactorPolicy(BaseDefaultEventLoopPolicy):
|
||||||
|
Reference in New Issue
Block a user