From aacdc77c0e1694a636a75b9bc3f65680b3ecd48a Mon Sep 17 00:00:00 2001 From: Christophe Gagnier Date: Tue, 4 Mar 2025 03:46:15 +0000 Subject: [PATCH] Fix lint error: PGH004 Use specific rule codes when using `noqa` --- pyhilo/__init__.py | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/pyhilo/__init__.py b/pyhilo/__init__.py index c5e8c79..f222744 100644 --- a/pyhilo/__init__.py +++ b/pyhilo/__init__.py @@ -1,3 +1,27 @@ """Define the hilo package.""" -from pyhilo.api import API # noqa -from pyhilo.devices import Devices # noqa +from pyhilo.api import API +from pyhilo.devices import Devices +from pyhilo.device import HiloDevice +from pyhilo.event import Event +from pyhilo.exceptions import HiloError, InvalidCredentialsError, WebsocketError +from pyhilo.oauth2 import AuthCodeWithPKCEImplementation +from pyhilo.util import from_utc_timestamp, time_diff +from pyhilo.websocket import WebsocketEvent +from pyhilo.const import UNMONITORED_DEVICES +from pyhilo.device.switch import Switch + +__all__ = [ + "API", + "Devices", + "HiloDevice", + "Event", + "HiloError", + "InvalidCredentialsError", + "WebsocketError", + "AuthCodeWithPKCEImplementation", + "from_utc_timestamp", + "time_diff", + "WebsocketEvent", + "UNMONITORED_DEVICES", + "Switch", +]