Skip to content
Snippets Groups Projects
Commit 9795d43b authored by Jarrod Pas's avatar Jarrod Pas
Browse files

Merge branch 'pylint-fix' into 'develop'

Fixes pylint errors

See merge request discus/pydtn!15
parents 45f3489c e024a10c
No related branches found
No related tags found
1 merge request!15Fixes pylint errors
Pipeline #5043 passed
......@@ -439,7 +439,6 @@ class Node:
def send_failure(self, packet, target):
"""Call when a send fails."""
# pylint: disable=unused-argument
pass
def packet_expiry(self, packet):
"""Call when a packet expires."""
......@@ -540,7 +539,6 @@ class FloodingNode(Node):
Do nothing, overrides default of removing from buffer.
"""
pass
Contact = namedtuple('Contact', ['time', 'a', 'b', 'join'])
......@@ -611,7 +609,7 @@ class CSVTrace(Trace):
with open(self.path) as csv_file:
csv_file = csv.reader(csv_file)
# skip header
next(csv_file)
next(csv_file) # pylint: disable=stop-iteration-return
for row in csv_file:
yield self.create_contact(*map(int, row))
......
......@@ -406,14 +406,10 @@ class BubbleNode(CommunityNode):
class BubbleKCliqueNode(KCliqueNode, BubbleNode):
"""Bubble node with k-clique community detection."""
pass
class BubbleLouvainNode(LouvainNode, BubbleNode):
"""Bubble node with louvain community detection."""
pass
class HCBFNode(CommunityNode):
"""Node with Hybrid Community Based forwarding."""
......@@ -463,10 +459,6 @@ class HCBFNode(CommunityNode):
class HCBFKCliqueNode(KCliqueNode, HCBFNode):
"""HCBF node with k-clique community detection."""
pass
class HCBFLouvainNode(LouvainNode, HCBFNode):
"""HCBF node with louvain community detection."""
pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment