  import logging
  import os
  import sys
  
  from typing import Any, TYPE_CHECKING
  
  from lib.utils import _video_extensions
  from .media import AlignmentData
  from .jobs import Check, Sort, Spatial  # noqa pylint: disable=unused-import
  from .jobs_faces import FromFaces, RemoveFaces, Rename  # noqa pylint: disable=unused-import
 
</s> remove from lib.utils import _video_extensions
 </s> add from lib.utils import _video_extensions, FaceswapError </s> remove if TYPE_CHECKING:
    from argparse import Namespace
 </s> add  </s> remove #: tools/alignments/cli.py:152
 </s> add #: tools/alignments/cli.py:176 </s> remove #: tools/alignments/cli.py:141
 </s> add #: tools/alignments/cli.py:165 </s> remove     def __init__(self, arguments: "Namespace") -> None:
 </s> add     def __init__(self, arguments: Namespace) -> None:
from argparse import Namespace
from typing import Any, cast, List, Dict, Optional
  import logging
  import os
  import sys
  
from argparse import Namespace
from typing import Any, cast, List, Dict, Optional
  
  from lib.utils import _video_extensions
  from .media import AlignmentData
  from .jobs import Check, Sort, Spatial  # noqa pylint: disable=unused-import
  from .jobs_faces import FromFaces, RemoveFaces, Rename  # noqa pylint: disable=unused-import
keep keep keep keep replace keep keep keep keep keep
 alignments tool - Add batch mode 
tools/alignments/alignments.py