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
4 changes: 2 additions & 2 deletions zeroconf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def __init__(self, name: str, type_: int, class_: int, ttl: Union[float, int]) -
self._expiration_time = self.get_expiration_time(_EXPIRE_FULL_TIME_PERCENT)
self._stale_time = self.get_expiration_time(_EXPIRE_STALE_TIME_PERCENT)

def __eq__(self, other: Any) -> bool:
def __eq__(self, other: Any) -> bool: # pylint: disable=no-self-use
"""Abstract method"""
raise AbstractMethodException

Expand Down Expand Up @@ -552,7 +552,7 @@ def reset_ttl(self, other: 'DNSRecord') -> None:
self._expiration_time = self.get_expiration_time(_EXPIRE_FULL_TIME_PERCENT)
self._stale_time = self.get_expiration_time(_EXPIRE_STALE_TIME_PERCENT)

def write(self, out: 'DNSOutgoing') -> None:
def write(self, out: 'DNSOutgoing') -> None: # pylint: disable=no-self-use
"""Abstract method"""
raise AbstractMethodException

Expand Down