Skip to content

Commit

Permalink
[qa] Reformatted code with black
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Mar 2, 2022
1 parent 0ea572b commit e9fefe6
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion netdiff/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class NetdiffException(Exception):
""" root netdiff exception """
"""root netdiff exception"""

pass

Expand Down
2 changes: 1 addition & 1 deletion netdiff/parsers/batman.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


class BatmanParser(BaseParser):
""" batman-adv parser """
"""batman-adv parser"""

protocol = 'batman-adv'
version = '2015.0'
Expand Down
2 changes: 1 addition & 1 deletion netdiff/parsers/bmx6.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


class Bmx6Parser(BaseParser):
""" Bmx6_b6m parser """
"""Bmx6_b6m parser"""

protocol = 'BMX6_b6m'
version = '0'
Expand Down
2 changes: 1 addition & 1 deletion netdiff/parsers/cnml.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


class CnmlParser(BaseParser):
""" CNML 0.1 parser """
"""CNML 0.1 parser"""

protocol = 'static'
version = None
Expand Down
2 changes: 1 addition & 1 deletion netdiff/parsers/netjson.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


class NetJsonParser(BaseParser):
""" NetJSON (0.1) parser """
"""NetJSON (0.1) parser"""

def parse(self, data):
"""
Expand Down
2 changes: 1 addition & 1 deletion netdiff/parsers/olsr.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


class OlsrParser(BaseParser):
""" OLSR 1 jsoninfo parser """
"""OLSR 1 jsoninfo parser"""

protocol = 'OLSR'
version = '0.8'
Expand Down
2 changes: 1 addition & 1 deletion netdiff/parsers/openvpn.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class OpenvpnParser(BaseParser):
""" OpenVPN status log parser """
"""OpenVPN status log parser"""

protocol = 'OpenVPN Status Log'
version = '1'
Expand Down
2 changes: 1 addition & 1 deletion netdiff/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


class TestCase(unittest.TestCase):
""" netdiff TestCase """
"""netdiff TestCase"""

def _test_expected_links(self, graph, expected_links):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


class TestBaseParser(unittest.TestCase):
""" BaseParser tests """
"""BaseParser tests"""

def _load_contents(self, file):
return open(os.path.abspath(file)).read()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_batman.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class TestBatmanParser(TestCase):
""" tests for BatmanParser """
"""tests for BatmanParser"""

def test_parse(self):
p = BatmanParser(iulinet)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


class TestUtils(TestCase):
""" tests for netdiff.utils """
"""tests for netdiff.utils"""

def test_same_nodes_but_added_links(self):
"""
Expand Down

0 comments on commit e9fefe6

Please sign in to comment.