diff --git a/auto_editor/__init__.py b/auto_editor/__init__.py index cdcc00fd0..f40334198 100644 --- a/auto_editor/__init__.py +++ b/auto_editor/__init__.py @@ -1,2 +1,2 @@ -__version__ = "23.40.1" -version = "23w40a" +__version__ = "23.43.1" +version = "23w43a" diff --git a/auto_editor/utils/types.py b/auto_editor/utils/types.py index 2a37c8f60..5373b44b8 100644 --- a/auto_editor/utils/types.py +++ b/auto_editor/utils/types.py @@ -183,19 +183,6 @@ def speed_range(val: str) -> tuple[float, str, str]: return number(a[0]), a[1], a[2] -Align = Literal["left", "center", "right"] - - -def align(val: str) -> Align: - if val == "left": - return "left" - if val == "center": - return "center" - if val == "right": - return "right" - raise CoerceError("Align must be 'left', 'right', or 'center'") - - Stream = int | Literal["all"] @@ -239,14 +226,6 @@ def resolution(val: str | None) -> tuple[int, int] | None: return natural(vals[0]), natural(vals[1]) -def pos(val: tuple[float | str, int]) -> int: - num, unit = _split_num_str(val[0]) - if unit == "%": - return round((num / 100) * val[1]) - _unit_check(unit, ("",)) - return round(num) - - @dataclass class Args: add: list[str] = field(default_factory=list)