Skip to content

Commit

Permalink
Fix relative import error on import __version__
Browse files Browse the repository at this point in the history
This commit fixes the following error discovered
when trying to run the latest executable:

File "codecov_cli/main.py", line 23, in <module>
ImportError: attempted relative import with no known parent package

Signed-off-by: joseph-sentry <[email protected]>
  • Loading branch information
joseph-sentry committed Sep 20, 2023
1 parent 1d6ae31 commit e72bf65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions codecov_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import click

from codecov_cli import __version__
from codecov_cli.commands.base_picking import pr_base_picking
from codecov_cli.commands.commit import create_commit
from codecov_cli.commands.create_report_result import create_report_results
Expand All @@ -20,8 +21,6 @@
from codecov_cli.helpers.logging_utils import configure_logger
from codecov_cli.helpers.versioning_systems import get_versioning_system

from . import __version__

logger = logging.getLogger("codecovcli")


Expand Down

0 comments on commit e72bf65

Please sign in to comment.