                  return process_file
              else:
                  def process_file(src, dst, changes):
                      os.rename(src, dst)
  
                  return process_file
  
      @staticmethod
      def set_renaming_method(log_changes):
          if log_changes:
              def renaming(src, output_dir, i, changes):
 
</s> remove                 return process_file
 </s> add  </s> remove                 return process_file
 </s> add  </s> remove                 return process_file
 </s> add 
        return process_file
                  return process_file
              else:
                  def process_file(src, dst, changes):
                      os.rename(src, dst)
        return process_file
        return process_file
  
      @staticmethod
      def set_renaming_method(log_changes):
          if log_changes:
              def renaming(src, output_dir, i, changes):
keep keep keep keep replace replace keep keep keep keep keep
 Sort tool bugfixes and linting 
tools/sort.py