mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Remove pylint:disable
This commit is contained in:
@ -45,7 +45,6 @@ class ID:
|
||||
__repr__ = __str__ = pretty = to_string = to_base58
|
||||
|
||||
def __eq__(self, other: object) -> bool:
|
||||
# pylint: disable=protected-access, no-else-return
|
||||
if isinstance(other, str):
|
||||
return self.to_base58() == other
|
||||
elif isinstance(other, bytes):
|
||||
|
||||
@ -7,7 +7,6 @@ from .peerdata import PeerData
|
||||
|
||||
|
||||
class PeerInfo:
|
||||
# pylint: disable=too-few-public-methods
|
||||
|
||||
peer_id: ID
|
||||
addrs: List[multiaddr.Multiaddr]
|
||||
|
||||
Reference in New Issue
Block a user