Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions zeroconf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2295,7 +2295,7 @@ def normalize_interface_choice(
return result


def new_socket(
def new_socket( # pylint: disable=too-many-branches
bind_addr: Union[Tuple[str], Tuple[str, int, int]],
port: int = _MDNS_PORT,
ip_version: IPVersion = IPVersion.V4Only,
Expand Down Expand Up @@ -2943,9 +2943,9 @@ def handle_response(self, msg: DNSIncoming) -> None: # pylint: disable=too-many
for record in removes:
self.cache.remove(record)

def handle_query(
def handle_query( # pylint: disable=too-many-branches
self, msg: DNSIncoming, addr: Optional[str], port: int
) -> None: # pylint: disable=too-many-branches
) -> None:
"""Deal with incoming query packets. Provides a response if
possible."""
out = None
Expand Down