Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Nov 1, 2024
1 parent dcb46e2 commit 3846901
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions aiohomekit/controller/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def __init__(
self._tasks = AsyncExitStack()

async def _async_register_backend(self, controller: AbstractController) -> None:
self.transports[
controller.transport_type
] = await self._tasks.enter_async_context(controller)
self.transports[controller.transport_type] = (
await self._tasks.enter_async_context(controller)
)

async def async_start(self) -> None:
if IP_TRANSPORT_SUPPORTED or self._async_zeroconf_instance:
Expand Down
5 changes: 3 additions & 2 deletions aiohomekit/controller/ip/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
# limitations under the License.
#
from __future__ import annotations
from struct import Struct

import asyncio
from collections.abc import Iterable
import logging
import socket
from struct import Struct
from typing import TYPE_CHECKING, Any
from collections.abc import Iterable

import aiohappyeyeballs
from async_interrupt import interrupt
Expand Down

0 comments on commit 3846901

Please sign in to comment.