chore: заменил импорты внутри пакета на относительные

This commit is contained in:
ElectronixTM
2025-04-02 01:29:22 +03:00
parent 4f1c9286a2
commit 94160414aa
5 changed files with 7 additions and 7 deletions

View File

@ -4,10 +4,10 @@
"""
from typing import cast
from dpdebugger import Debugger, DbgDict, DbgInstrDesc
from .dpdebugger import Debugger, DbgDict, DbgInstrDesc
from argparse import ArgumentParser
import json
import dbg_tui
from . import dbg_tui
def parse_dbg(dbg_json_dict: dict) -> DbgDict:
"""

View File

@ -1,5 +1,5 @@
from dpdebugger import Debugger
from vm import VMException, VMExceptionType, VMStatus
from .dpdebugger import Debugger
from .vm import VMException, VMExceptionType, VMStatus
from dataclasses import dataclass
from typing import cast
import math

View File

@ -3,7 +3,7 @@
хоть как-то помочь
"""
from vm import VM, VMException, Breakpoint, Condition, WORD_SIZE
from .vm import VM, VMException, Breakpoint, Condition, WORD_SIZE
from dataclasses import dataclass
from typing import TypedDict, Callable, cast

View File

@ -1,5 +1,5 @@
from argparse import ArgumentParser
from vm import VM
from .vm import VM
def main():
parser = ArgumentParser(

View File

@ -2,7 +2,7 @@ from dataclasses import dataclass
from typing import ClassVar, Callable
from ctypes import c_uint32, c_int32
import struct
from optable import OPCODES, OpcodeDescription, OpL, OpA, OpF, OpD
from .optable import OPCODES, OpcodeDescription, OpL, OpA, OpF, OpD
from enum import IntFlag, Enum, auto
WORD_SIZE: int = 4