original_docstring: Finalize the formatter.
  
      This flushes the buffer of files that have yet to be formatted.
  
      Returns:
        A formatter action, if there any files are still pending.
      
docstring: Finalize the formatter.
  This flushes the buffer of files that have yet to be formatted.
docstring_tokens: Finalize the formatter . This flushes the buffer of files that have yet to be formatted .
code: def Finalize(self) -> Optional[base_formatter.FormatAction]:
      """Finalize the formatter.
  
      This flushes the buffer of files that have yet to be formatted.
  
      Returns:
        A formatter action, if there any files are still pending.
      """
      if self._paths:
        paths = self._paths.copy()
        cached_mtimes = self._cached_mtimes.copy()
        self._paths, self._cached_mtimes = [], []
        return lambda: self.Action(paths, cached_mtimes)
code_tokens: def Finalize ( self ) -> Optional [ base_formatter . FormatAction ] : if self . _paths : paths = self . _paths . copy ( ) cached_mtimes = self . _cached_mtimes . copy ( ) self . _paths , self . _cached_mtimes = [ ] , [ ] return lambda : self . Action ( paths , cached_mtimes )
short_docstring: Finalize the formatter.
short_docstring_tokens: Finalize the formatter .
comment: """Finalize the formatter.
  
      This flushes the buffer of files that have yet to be formatted.
  
      Returns:
        A formatter action, if there any files are still pending.
      """