@@ -701,11 +701,13 @@ def process_control_event(self, e):
701701 _ ("Reloaded at %s because %s modified." )
702702 % (time .strftime ("%X" ), " & " .join (e .files_modified ))
703703 )
704-
704+
705705 elif isinstance (e , bpythonevents .BackgroundImportEvent ):
706- #self.comleters[1] should match to autocomplete's ImportCompletion class
706+ # self.comleters[1] should match to autocomplete's ImportCompletion class
707707 self .completers [1 ].try_to_import (e .module_name )
708- self .status_bar .pop_permanent_message ("Imported module %s" % e .module_name )
708+ self .status_bar .pop_permanent_message (
709+ "Imported module %s" % e .module_name
710+ )
709711
710712 else :
711713 raise ValueError ("Don't know how to handle event type: %r" % e )
@@ -903,20 +905,20 @@ def only_whitespace_left_of_cursor():
903905 for unused in range (to_add ):
904906 self .add_normal_character (" " )
905907 return
906-
907- #5. if line is `from a import` and tab then import module and attr
908+
909+ # 5. if line is `from a import` and tab then import module and attr
908910 line = self .current_line .split ()
909911 module_name = ""
910912 if "from" in line and "import" in line :
911- #returns <module> name if the line contains: "from <module> import"
913+ # returns <module> name if the line contains: "from <module> import"
912914 module_name = from_import_tab (self .current_line )
913915 print (module_name )
914916 if module_name :
915917 if module_name not in sys .modules :
916- self .status_bar .push_permanent_message ("Imported module %s" % module_name )
918+ self .status_bar .push_permanent_message (
919+ "Imported module %s" % module_name
920+ )
917921 self .background_import_event (module_name = module_name )
918-
919-
920922
921923 # run complete() if we don't already have matches
922924 if len (self .matches_iter .matches ) == 0 :
0 commit comments