Skip to content

Commit

Permalink
chore: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JuReMq committed Jan 13, 2025
1 parent ad3560b commit 6b11c97
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/ihexer/_run.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
"""
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
import sys
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__")
6 changes: 3 additions & 3 deletions src/ihexer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_ihex.py
Original file line number Diff line number Diff line change
@@ -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


Expand Down

0 comments on commit 6b11c97

Please sign in to comment.