Skip to content

Commit a74c8f3

Browse files
Version - use absolute import rather than relative (#442)
* Version - use absolute import rather than relative * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 7273a9f commit a74c8f3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

executorlib/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from typing import Optional
22

3+
from executorlib._version import get_versions as _get_versions
34
from executorlib.interactive import create_executor
45
from executorlib.interactive.dependencies import ExecutorWithDependencies
56
from executorlib.shared.inputcheck import (
@@ -9,9 +10,7 @@
910
check_refresh_rate as _check_refresh_rate,
1011
)
1112

12-
from ._version import get_versions
13-
14-
__version__ = get_versions()["version"]
13+
__version__ = _get_versions()["version"]
1514
__all__ = []
1615

1716

0 commit comments

Comments
 (0)