mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-10 07:00:54 +00:00
Remove pylint:disable
This commit is contained in:
@ -5,7 +5,6 @@ from tests.utils import cleanup, set_up_nodes_by_transport_opt
|
||||
from libp2p.peer.peerinfo import info_from_p2p_addr
|
||||
|
||||
|
||||
# pylint: disable=too-many-locals
|
||||
@pytest.mark.asyncio
|
||||
async def test_simple_messages():
|
||||
transport_opt_list = [["/ip4/127.0.0.1/tcp/0"], ["/ip4/127.0.0.1/tcp/0"]]
|
||||
|
||||
@ -22,11 +22,9 @@ from libp2p import new_node, initialize_default_swarm
|
||||
from libp2p.network.notifee_interface import INotifee
|
||||
from libp2p.host.basic_host import BasicHost
|
||||
|
||||
# pylint: disable=too-many-locals
|
||||
|
||||
|
||||
class MyNotifee(INotifee):
|
||||
# pylint: disable=too-many-instance-attributes, cell-var-from-loop
|
||||
|
||||
def __init__(self, events, val_to_append_to_event):
|
||||
self.events = events
|
||||
@ -52,7 +50,6 @@ class MyNotifee(INotifee):
|
||||
|
||||
|
||||
class InvalidNotifee:
|
||||
# pylint: disable=too-many-instance-attributes, cell-var-from-loop
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user