@@ -27,13 +27,12 @@ class StartupDialog(QtWidgets.QDialog):
2727 folder_selector = QtWidgets .QFileDialog .getExistingDirectory
2828
2929 def __init__ (self , parent ):
30- """
31- Initialize dialog.
30+ """Initialize dialog.
3231
3332 Parameters
3433 ----------
3534 parent: MainWindowView
36- An instance of the MainWindowView
35+ An instance of the MainWindowView
3736 """
3837 super ().__init__ (parent )
3938
@@ -67,7 +66,7 @@ def compose_layout(self):
6766 self .setLayout (main_layout )
6867
6968 def create_loading_bar (self ):
70- """Creates non-deterministic progress bar"""
69+ """Creates non-deterministic progress bar. """
7170 self .loading_bar = QtWidgets .QProgressBar ()
7271 self .loading_bar .setMinimum (0 )
7372 self .loading_bar .setMaximum (0 )
@@ -245,7 +244,7 @@ def create_project(self) -> None:
245244
246245
247246class DisplayWidget (QtWidgets .QWidget ):
248- """Fancy display widget for title and description items in a list"""
247+ """Fancy display widget for title and description items in a list. """
249248
250249 def __init__ (self , title , desc ):
251250 super ().__init__ ()
@@ -280,7 +279,7 @@ def compose_layout(self):
280279 self .setLayout (main_layout )
281280
282281 def create_load_tab (self ):
283- """Creates the load project widget"""
282+ """Creates the load project widget. """
284283 layout = QtWidgets .QVBoxLayout ()
285284 layout .setSpacing (20 )
286285
@@ -304,7 +303,7 @@ def create_load_tab(self):
304303 self .tabs .addTab (load_tab , "Load Project" )
305304
306305 def create_list_widget_tab (self , tab_name : str ):
307- """Create the list widget and add it to tab with given name
306+ """Create the list widget and add it to tab with given name.
308307
309308 Parameters
310309 ----------
@@ -328,7 +327,7 @@ def create_list_widget_tab(self, tab_name: str):
328327 return list_widget
329328
330329 def create_example_tab (self ):
331- """Creates the example widget"""
330+ """Creates the example widget. """
332331 self .example_list_widget = self .create_list_widget_tab ("Examples" )
333332
334333 for name , desc in EXAMPLES .items ():
@@ -341,7 +340,7 @@ def create_example_tab(self):
341340 item .setSizeHint (item_widget .sizeHint ())
342341
343342 def create_recent_tab (self ):
344- """Creates the recent project widget"""
343+ """Creates the recent project widget. """
345344 recent_projects = update_recent_projects ()
346345 recent_projects = recent_projects [:6 ]
347346 self .recent_list_widget = self .create_list_widget_tab ("Recent Projects" )
@@ -396,7 +395,7 @@ def load_project(self, item=None):
396395 self .block_for_worker (True )
397396
398397 def block_for_worker (self , disabled : bool ):
399- """Disable UI while worker is completing
398+ """Disable UI while worker is completing.
400399
401400 Parameters
402401 ----------
0 commit comments