From 9ab3804c8948d8a0d47b9337634ac7c9f08a8b16 Mon Sep 17 00:00:00 2001 From: Jamie Hardt Date: Wed, 17 Dec 2025 15:09:05 -0800 Subject: [PATCH] Removed explicit imports of pycmx --- pycmx/edit.py | 4 ++-- pycmx/edit_list.py | 2 +- pycmx/event.py | 7 +++---- pycmx/parse_cmx_statements.py | 2 +- pycmx/statements.py | 2 +- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/pycmx/edit.py b/pycmx/edit.py index ab2f35e..a3c12fa 100644 --- a/pycmx/edit.py +++ b/pycmx/edit.py @@ -1,8 +1,8 @@ # pycmx # (c) 2018-2025 Jamie Hardt -from pycmx.cdl import AscSopComponents, FramecountTriple -from pycmx.statements import ( +from .cdl import AscSopComponents, FramecountTriple +from .statements import ( StmtCdlSat, StmtCdlSop, StmtFrmc, diff --git a/pycmx/edit_list.py b/pycmx/edit_list.py index 83340cb..8bd5941 100644 --- a/pycmx/edit_list.py +++ b/pycmx/edit_list.py @@ -1,7 +1,7 @@ # pycmx # (c) 2018-2025 Jamie Hardt -from pycmx.statements import (StmtCorruptRemark, StmtTitle, StmtEvent, +from .statements import (StmtCorruptRemark, StmtTitle, StmtEvent, StmtUnrecognized, StmtSourceUMID) from .event import Event from .channel_map import ChannelMap diff --git a/pycmx/event.py b/pycmx/event.py index 35082b8..4417e84 100644 --- a/pycmx/event.py +++ b/pycmx/event.py @@ -1,10 +1,9 @@ # pycmx # (c) 2023-2025 Jamie Hardt -from pycmx.statements import StmtFrmc -from .parse_cmx_statements import ( - StmtEvent, StmtClipName, StmtSourceFile, StmtAudioExt, StmtUnrecognized, - StmtEffectsName, StmtCdlSop, StmtCdlSat) +from .statements import (StmtFrmc, StmtEvent, StmtClipName, StmtSourceFile, + StmtAudioExt, StmtUnrecognized, StmtEffectsName, + StmtCdlSop, StmtCdlSat) from .edit import Edit from typing import List, Generator, Optional, Tuple, Any diff --git a/pycmx/parse_cmx_statements.py b/pycmx/parse_cmx_statements.py index ff09542..6ffd0b2 100644 --- a/pycmx/parse_cmx_statements.py +++ b/pycmx/parse_cmx_statements.py @@ -4,7 +4,7 @@ import re from typing import TextIO, List -from pycmx.cdl import AscSopComponents, Rgb +from .cdl import AscSopComponents, Rgb from .statements import (StmtCdlSat, StmtCdlSop, StmtCorruptRemark, StmtFrmc, StmtRemark, StmtTitle, StmtUnrecognized, StmtFCM, diff --git a/pycmx/statements.py b/pycmx/statements.py index 475c53b..ed61a1f 100644 --- a/pycmx/statements.py +++ b/pycmx/statements.py @@ -3,7 +3,7 @@ from typing import Any, NamedTuple -from pycmx.cdl import AscSopComponents +from .cdl import AscSopComponents # type str = str