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:
ZX
2018-11-26 18:24:29 -05:00
committed by Alex Haynes
parent 8326f87835
commit 8bcffb67cb
30 changed files with 39 additions and 96 deletions

View File

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

View File

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

View File

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