                        file=sys.stdout):
              src = img_list[i] if isinstance(img_list[i], str) else img_list[i][0]
              src_basename = os.path.basename(src)
  
              dst = os.path.join(output_dir, '{:05d}_{}'.format(i, src_basename))
              try:
                  process_file(src, dst, self.changes)
              except FileNotFoundError as err:
                  logger.error(err)
                  logger.error('fail to rename %s', src)
 
</s> remove                                    '{:05d}_{}'.format(i, src_basename))
 </s> add                                    f"{i:05d}_{src_basename}") </s> remove                                      '{:05d}_{}'.format(i, src_basename))
 </s> add                                      f"{i:05d}_{src_basename}") </s> remove                     '{:05d}{}'.format(i, os.path.splitext(src_basename)[1]))
 </s> add                     f"{i:05d}{os.path.splitext(src_basename)[1]}") </s> remove                     '{:05d}{}'.format(i, os.path.splitext(src_basename)[1]))
 </s> add                     f"{i:05d}{os.path.splitext(src_basename)[1]}") </s> remove         new_location = "{}.{}".format(os.path.splitext(old_location)[0],
                                      self._serializer.file_extension)
 </s> add         new_location = f"{os.path.splitext(old_location)[0]}.{self._serializer.file_extension}"
            dst = os.path.join(output_dir, f"{i:05d}_{src_basename}")
                        file=sys.stdout):
              src = img_list[i] if isinstance(img_list[i], str) else img_list[i][0]
              src_basename = os.path.basename(src)
  
            dst = os.path.join(output_dir, f"{i:05d}_{src_basename}")
              try:
                  process_file(src, dst, self.changes)
              except FileNotFoundError as err:
                  logger.error(err)
                  logger.error('fail to rename %s', src)
keep keep keep keep replace keep keep keep keep keep
 lib.align updates:
  - alignments.py
    - Add typed dicts for imported alignments
    - Explicitly check for presence of thumb value in alignments dict
    - linting
  - detected_face.py
    - Typing
    - Linting
    - Legacy support for pre-aligned face
    - Update dependencies to new property names 
tools/sort/sort.py