Skip to content

Commit c5dee5f

Browse files
committed
Fixed linter
1 parent 3cc49da commit c5dee5f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/tests/mock/bitmessagemock.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
def main():
2-
pass
2+
"""Mock main function"""
3+
pass

src/tests/mock/inventory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# TODO make this dynamic, and watch out for frozen, like with messagetypes
44
from singleton import Singleton
55

6+
67
# pylint: disable=old-style-class,too-few-public-methods
78
@Singleton
89
class MockInventory():

src/tests/mock/network/connectionpool.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
"""
44
import logging
55

6-
import asyncore_pollchoose as asyncore
7-
from bmconfigparser import BMConfigParser
86
from singleton import Singleton
97

108
logger = logging.getLogger('default')
119

10+
1211
# pylint: disable=too-few-public-methods
1312
@Singleton
1413
class MockBMConnectionPool(object):

0 commit comments

Comments
 (0)