From d7efd746f2fb2bb644996f29eaab943cefc461e6 Mon Sep 17 00:00:00 2001 From: surbhi Date: Tue, 3 Jul 2018 15:45:42 +0530 Subject: [PATCH] fix Missing module docstring issue with other pep8 --- src/main.py | 4 ++-- src/mpybit.py | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main.py b/src/main.py index 673b1307..a5bd9400 100644 --- a/src/main.py +++ b/src/main.py @@ -1,5 +1,5 @@ -from bitmessagemain import main # import main method to run first for thread start +from bitmessagemain import main +# import main method to run first for thread start. if __name__ == '__main__': - """python main will call for bitmessage main to start threads.""" main() diff --git a/src/mpybit.py b/src/mpybit.py index 050e3013..5d2afeec 100644 --- a/src/mpybit.py +++ b/src/mpybit.py @@ -92,12 +92,16 @@ class LoginScreen(BoxLayout): return None def sayexit(self): + """This method will exit the application screen.""" print("**************************EXITING FROM APPLICATION*****************************") shutdown.doCleanShutdown() Window.close() class MainApp(App): - + """The App class is the base for creating Kivy applications + Think of it as your main entry point into the Kivy run loop.""" def build(self): + """To initialize an app with a widget tree, we need to override the build() + method in our app class and return the widget tree which we have constructed..""" return LoginScreen()