Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
siku2 committed Sep 17, 2023
1 parent c7b1807 commit be1d662
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/vzug/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import httpx
from yarl import URL

from . import discovery # type: ignore
from . import discovery # noqa: F401 # type: ignore

_LOGGER = logging.getLogger(__name__)

Expand Down
4 changes: 2 additions & 2 deletions custom_components/vzug/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ async def async_step_start_discovery(
),
return_exceptions=True,
)
discoveries: set[api.discovery.DiscoveryInfo] = set(
discoveries: set[api.discovery.DiscoveryInfo] = {
d for group in results if not isinstance(group, Exception) for d in group
)
}
for discovery in discoveries:
df.async_create_flow(
self.hass,
Expand Down

0 comments on commit be1d662

Please sign in to comment.