From 6b11c97b76c3309c9e3190fbcf63c37b9a481e7c Mon Sep 17 00:00:00 2001 From: "Reichwein, Judith (RDD-RM)" Date: Mon, 13 Jan 2025 12:00:22 +0100 Subject: [PATCH] chore: initial commit --- src/ihexer/_run.py | 6 +++--- src/ihexer/main.py | 6 +++--- tests/test_ihex.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ihexer/_run.py b/src/ihexer/_run.py index 88b915e..b1cadbf 100644 --- a/src/ihexer/_run.py +++ b/src/ihexer/_run.py @@ -1,7 +1,7 @@ """ -Used to run ihex from the command line when run from this repository. +Used to run ihexer from the command line when run from this repository. -This is required because ihex module is not visible when running from the repository. +This is required because ihexer module is not visible when running from the repository. """ import runpy @@ -9,4 +9,4 @@ from pathlib import Path sys.path.insert(0, Path(__file__).parent.parent.absolute().as_posix()) -runpy.run_module("ihex.main", run_name="__main__") +runpy.run_module("ihexer.main", run_name="__main__") diff --git a/src/ihexer/main.py b/src/ihexer/main.py index e06bf25..327cbeb 100644 --- a/src/ihexer/main.py +++ b/src/ihexer/main.py @@ -6,10 +6,10 @@ from py_app_dev.core.exceptions import UserNotificationException from py_app_dev.core.logging import logger, setup_logger, time_it -from ihex import __version__ -from ihex.ihex import IntelHexDiff, IntelHexParser, IntelHexPrinter +from ihexer import __version__ +from ihexer.ihexer import IntelHexDiff, IntelHexParser, IntelHexPrinter -package_name = "ihex" +package_name = "ihexer" app = typer.Typer(name=package_name, help="Intel HEX utils.", no_args_is_help=True) diff --git a/tests/test_ihex.py b/tests/test_ihex.py index 4a27b40..1de279c 100644 --- a/tests/test_ihex.py +++ b/tests/test_ihex.py @@ -1,6 +1,6 @@ from pathlib import Path -from ihex.ihex import IntelHexParser, IntelHexPrinter, IntelHexSegment +from ihexer.ihexer import IntelHexParser, IntelHexPrinter, IntelHexSegment from tests.utils import get_tests_data_file