コード例 #1
0
 def dispatch_processor(self, file_path):
     """Call dispatch_processor() with the given file path."""
     dispatcher = ProcessorDispatcher()
     processor = dispatcher.dispatch_processor(file_path,
                                               self.mock_handle_style_error,
                                               verbosity=3)
     return processor
コード例 #2
0
 def dispatch_processor(self, file_path):
     """Call dispatch_processor() with the given file path."""
     dispatcher = ProcessorDispatcher()
     processor = dispatcher.dispatch_processor(file_path,
                                               self.mock_handle_style_error,
                                               min_confidence=3)
     return processor