Remove unused imports.

This commit is contained in:
Frédéric Tronel
2026-08-28 17:04:35 +02:00
parent edd034b3b6
commit 451fd50c68
+2 -6
View File
@@ -2,15 +2,13 @@
'''A module to remove parts of video (.e.g advertisements) with single frame precision.''' '''A module to remove parts of video (.e.g advertisements) with single frame precision.'''
# Standard modules # Standard modules
import argparse
import json import json
import logging import logging
import os.path import os.path
import re import re
from dataclasses import dataclass, field from dataclasses import dataclass, field
from datetime import datetime, timedelta from datetime import timedelta
from enum import IntEnum, unique from enum import IntEnum, unique
from functools import cmp_to_key
from io import BytesIO, TextIOWrapper from io import BytesIO, TextIOWrapper
from math import ceil, floor, log from math import ceil, floor, log
from os import ( from os import (
@@ -22,16 +20,14 @@ from os import (
memfd_create, memfd_create,
read, read,
set_inheritable, set_inheritable,
unlink,
write, write,
) )
from shutil import copyfile, move, which from shutil import which
from subprocess import PIPE, Popen from subprocess import PIPE, Popen
from sys import exit from sys import exit
from typing import IO from typing import IO
# Third party libraries # Third party libraries
import coloredlogs
import hexdump import hexdump
from iso639 import Lang from iso639 import Lang
from iso639.exceptions import InvalidLanguageValue from iso639.exceptions import InvalidLanguageValue