From a9fb41821a0e562dcea831899b9abc3c1290e343 Mon Sep 17 00:00:00 2001 From: "kuldeep.k@cisinlabs.com" Date: Fri, 17 Dec 2021 17:26:18 +0530 Subject: [PATCH] Fixed code quality --- src/tests/mock/bitmessagemock.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/tests/mock/bitmessagemock.py b/src/tests/mock/bitmessagemock.py index 397e77f8..7b6851be 100644 --- a/src/tests/mock/bitmessagemock.py +++ b/src/tests/mock/bitmessagemock.py @@ -1,3 +1,6 @@ +""" +Bitmessage mock +""" from pybitmessage.class_addressGenerator import addressGenerator from pybitmessage.class_singleWorker import singleWorker from pybitmessage.class_objectProcessor import objectProcessor @@ -5,12 +8,14 @@ from pybitmessage.inventory import Inventory from pybitmessage.bmconfigparser import BMConfigParser -class MockMain(): +# pylint: disable=too-few-public-methods +class MockMain: """Mock main function""" + # pylint: disable=no-self-use def start(self): """Start main application""" - # pylint: disable=too-many-statements,too-many-branches,too-many-locals + # pylint: disable=too-many-statements,too-many-branches,too-many-locals, unused-variable config = BMConfigParser() daemon = config.safeGetBoolean('bitmessagesettings', 'daemon')