mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
WIP CI Build Errors (#76)
* ignore TODO and kademlia * remove unnecessary pass * fixed swarm warnings * fixed peerdata_interface warnings * fixed peer warnings * fixed rest of linting errors * trying to fix last error * fixed dup errors
This commit is contained in:
@ -10,7 +10,6 @@ class IListener(ABC):
|
||||
:param multiaddr: multiaddr of peer
|
||||
:return: return True if successful
|
||||
"""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def get_addrs(self):
|
||||
@ -18,7 +17,6 @@ class IListener(ABC):
|
||||
retrieve list of addresses the listener is listening on
|
||||
:return: return list of addrs
|
||||
"""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def close(self, options=None):
|
||||
@ -29,4 +27,3 @@ class IListener(ABC):
|
||||
a timeout value in ms that fires and destroy all connections
|
||||
:return: return True if successful
|
||||
"""
|
||||
pass
|
||||
|
||||
@ -11,7 +11,6 @@ class ITransport(ABC):
|
||||
:param options: optional object
|
||||
:return: list of multiaddrs
|
||||
"""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def create_listener(self, handler_function, options=None):
|
||||
@ -22,4 +21,3 @@ class ITransport(ABC):
|
||||
that takes a connection as argument which implements interface-connection
|
||||
:return: a listener object that implements listener_interface.py
|
||||
"""
|
||||
pass
|
||||
|
||||
@ -2,6 +2,7 @@ from stream_muxer.mplex.mplex import Mplex
|
||||
|
||||
|
||||
class TransportUpgrader():
|
||||
# pylint: disable=no-self-use
|
||||
|
||||
def __init__(self, secOpt, muxerOpt):
|
||||
self.sec = secOpt
|
||||
@ -12,7 +13,6 @@ class TransportUpgrader():
|
||||
upgrade multiaddr listeners to libp2p-transport listeners
|
||||
|
||||
"""
|
||||
pass
|
||||
|
||||
def upgrade_security(self):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user