Skip to content

Commit

Permalink
Bump to 23w43a
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattBlue committed Oct 25, 2023
1 parent 0b0016e commit b0f7b4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
4 changes: 2 additions & 2 deletions auto_editor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "23.40.1"
version = "23w40a"
__version__ = "23.43.1"
version = "23w43a"
21 changes: 0 additions & 21 deletions auto_editor/utils/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]


Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit b0f7b4a

Please sign in to comment.