Fix linting and type checking issues for Thin Waist feature

This commit is contained in:
acul71
2025-08-19 01:11:48 +02:00
parent fe71c479dc
commit 05b372b1eb
5 changed files with 106 additions and 40 deletions

View File

@ -4,9 +4,9 @@ import pytest
from multiaddr import Multiaddr
from libp2p.utils.address_validation import (
expand_wildcard_address,
get_available_interfaces,
get_optimal_binding_address,
expand_wildcard_address,
)
@ -53,4 +53,4 @@ def test_expand_wildcard_address_ipv6() -> None:
expanded = expand_wildcard_address(wildcard)
assert len(expanded) > 0
for e in expanded:
assert "/ip6/" in str(e)
assert "/ip6/" in str(e)