Remove pylint:disable

This commit is contained in:
mhchia
2019-08-02 23:19:36 +08:00
parent 06a9511ab4
commit 2e94fcf56c
36 changed files with 7 additions and 64 deletions

View File

@ -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):

View File

@ -7,7 +7,6 @@ from .peerdata import PeerData
class PeerInfo:
# pylint: disable=too-few-public-methods
peer_id: ID
addrs: List[multiaddr.Multiaddr]