              if keep_original:
                  def process_file(src, dst, changes):
                      copyfile(src, dst)
  
                  return process_file
              else:
                  def process_file(src, dst, changes):
                      os.rename(src, dst)
  
                  return process_file
 
</s> remove                 return process_file
 </s> add  </s> remove                 return process_file
 </s> add  </s> remove 
                return process_file
 </s> add         return process_file
              if keep_original:
                  def process_file(src, dst, changes):
                      copyfile(src, dst)
  

              else:
                  def process_file(src, dst, changes):
                      os.rename(src, dst)
  
                  return process_file
keep keep keep keep replace keep keep keep keep keep
 Sort tool bugfixes and linting 
tools/sort.py