Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Jun 6, 2023
1 parent 9fac80b commit 57e1f35
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions pyhap/accessory_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@
import re
import sys
import tempfile
import time
import threading
import time
from typing import Optional

from zeroconf import ServiceInfo
from zeroconf.asyncio import AsyncZeroconf

from pyhap import util
from pyhap.accessory import get_topic, Accessory
from pyhap.accessory import Accessory, get_topic
from pyhap.characteristic import CharacteristicError
from pyhap.const import (
HAP_PERMISSION_NOTIFY,
Expand All @@ -40,9 +41,9 @@
HAP_REPR_AID,
HAP_REPR_CHARS,
HAP_REPR_IID,
HAP_REPR_TTL,
HAP_REPR_PID,
HAP_REPR_STATUS,
HAP_REPR_TTL,
HAP_REPR_VALUE,
STANDALONE_AID,
)
Expand All @@ -52,7 +53,7 @@
from pyhap.loader import Loader
from pyhap.params import get_srp_context
from pyhap.state import State
from typing import Optional

from .const import HAP_SERVER_STATUS
from .util import callback

Expand Down
3 changes: 2 additions & 1 deletion pyhap/state.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
"""Module for `State` class."""
from typing import List, Optional, Union

from cryptography.hazmat.primitives.asymmetric import ed25519

from typing import List, Optional, Union
from pyhap import util
from pyhap.const import (
CLIENT_PROP_PERMS,
Expand Down

0 comments on commit 57e1f35

Please sign in to comment.