diff --git a/auto_editor/edit.py b/auto_editor/edit.py index c8ccf6d3d..f70181b37 100644 --- a/auto_editor/edit.py +++ b/auto_editor/edit.py @@ -1,5 +1,5 @@ import os -from typing import List, Optional, Tuple, Type +from typing import List, Optional, Type from auto_editor.ffwrapper import FFmpeg, FileInfo from auto_editor.timeline import Timeline, make_timeline diff --git a/auto_editor/ffwrapper.py b/auto_editor/ffwrapper.py index f5f977e6c..01ffe274f 100644 --- a/auto_editor/ffwrapper.py +++ b/auto_editor/ffwrapper.py @@ -9,7 +9,7 @@ from subprocess import PIPE, Popen from typing import List, Optional, Tuple -from auto_editor.utils.func import get_stdout, to_timecode +from auto_editor.utils.func import get_stdout from auto_editor.utils.log import Log IMG_CODECS = ("png", "mjpeg", "webp") diff --git a/auto_editor/method.py b/auto_editor/method.py index b83c15e0e..c45a442d1 100644 --- a/auto_editor/method.py +++ b/auto_editor/method.py @@ -1,7 +1,6 @@ import os import random from dataclasses import asdict, dataclass, fields -from math import ceil from typing import Any, Callable, Dict, Optional, Type, TypeVar, Union import numpy as np diff --git a/auto_editor/preview.py b/auto_editor/preview.py index 9fe0a0056..4f6228395 100644 --- a/auto_editor/preview.py +++ b/auto_editor/preview.py @@ -2,7 +2,6 @@ from typing import List, Optional, Tuple from auto_editor.method import get_media_duration -from auto_editor.objects import VideoObj from auto_editor.timeline import Timeline from auto_editor.utils.func import to_timecode from auto_editor.utils.log import Log diff --git a/auto_editor/vanparse.py b/auto_editor/vanparse.py index 51017df38..bdac90ce4 100644 --- a/auto_editor/vanparse.py +++ b/auto_editor/vanparse.py @@ -14,7 +14,6 @@ Sequence, Set, Tuple, - Type, TypeVar, Union, )