          return process_file
  
      @staticmethod
      def set_renaming_method(log_changes):
          if log_changes:
              def renaming(src, output_dir, i, changes):
                  """ Rename files  method if logging changes """
                  src_basename = os.path.basename(src)
 
</s> remove 
                return process_file
 </s> add         return process_file </s> remove 
            return renaming

 </s> add 
        """ Set the method for renaming files """
          return process_file
  
      @staticmethod
      def set_renaming_method(log_changes):
        """ Set the method for renaming files """
          if log_changes:
              def renaming(src, output_dir, i, changes):
                  """ Rename files  method if logging changes """
                  src_basename = os.path.basename(src)
keep keep keep add keep keep keep keep
 Sort tool bugfixes and linting 
tools/sort.py