Prefer __all__ over F401 ignore (#126189)

This commit is contained in:
epenet 2024-09-18 11:29:23 +02:00 committed by GitHub
parent de104b35db
commit 0281e95f2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 6 deletions

View File

@ -1,4 +1,6 @@
"""Internal functionality not part of HA infrastructure."""
from .api import get_axis_api # noqa: F401
from .hub import AxisHub # noqa: F401
from .api import get_axis_api
from .hub import AxisHub
__all__ = ["AxisHub", "get_axis_api"]

View File

@ -1,4 +1,6 @@
"""Internal functionality not part of HA infrastructure."""
from .api import get_deconz_api # noqa: F401
from .hub import DeconzHub # noqa: F401
from .api import get_deconz_api
from .hub import DeconzHub
__all__ = ["DeconzHub", "get_deconz_api"]

View File

@ -1,4 +1,6 @@
"""Internal functionality not part of HA infrastructure."""
from .api import get_unifi_api # noqa: F401
from .hub import UnifiHub # noqa: F401
from .api import get_unifi_api
from .hub import UnifiHub
__all__ = ["UnifiHub", "get_unifi_api"]