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
Pipeline #5043 passed with stage
in 1 minute and 40 seconds
......@@ -439,7 +439,6 @@ class Node:
def send_failure(self, packet, target):
"""Call when a send fails."""
# pylint: disable=unused-argument
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.
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) # 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."""
class BubbleLouvainNode(LouvainNode, BubbleNode):
"""Bubble node with louvain community detection."""
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."""
class HCBFLouvainNode(LouvainNode, HCBFNode):
"""HCBF node with louvain community detection."""
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment