Remove unused type ignores (#951)

This commit is contained in:
J. Nick Koston 2024-09-08 19:57:43 -05:00 committed by GitHub
parent 71ebae8c92
commit be2a3a3934
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,9 +108,9 @@ async def _async_resolve_host_zeroconf(
)
addrs: list[AddrInfo] = []
for ip in info.ip_addresses_by_version(IPVersion.V6Only):
addrs.extend(_async_ip_address_to_addrs(ip, port)) # type: ignore
addrs.extend(_async_ip_address_to_addrs(ip, port))
for ip in info.ip_addresses_by_version(IPVersion.V4Only):
addrs.extend(_async_ip_address_to_addrs(ip, port)) # type: ignore
addrs.extend(_async_ip_address_to_addrs(ip, port))
return addrs