Skip to content

Commit b30e169

Browse files
fix
1 parent eecf9fe commit b30e169

File tree

6 files changed

+5
-135
lines changed

6 files changed

+5
-135
lines changed

exasol/toolbox/nox/_release.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@
1919
new_changes,
2020
new_unreleased,
2121
)
22-
from exasol.toolbox.version import (
23-
ReleaseTypes,
24-
Version,
25-
)
22+
from exasol.toolbox.version import ReleaseTypes, Version
2623
from noxconfig import PROJECT_CONFIG
2724

2825

exasol/toolbox/sphinx/multiversion/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
from exasol.toolbox.sphinx.multiversion.main import main
1919
from exasol.toolbox.sphinx.multiversion.sphinx import setup
20-
from exasol.toolbox.util.version import VERSION
20+
from exasol.toolbox.version import VERSION
2121

2222
__version__ = VERSION
2323

exasol/toolbox/sphinx/multiversion/sphinx.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
from sphinx.locale import _
1010
from sphinx.util import i18n as sphinx_i18n
1111

12-
from exasol.toolbox.util.version import VERSION as PLUGIN_VERSION
13-
from exasol.toolbox.version import Version as ExasolVersion
12+
from exasol.toolbox.version import VERSION as PLUGIN_VERSION, Version as ExasolVersion
1413

1514
logger = logging.getLogger(__name__)
1615

exasol/toolbox/version/__init__.py

Lines changed: 0 additions & 123 deletions
This file was deleted.

noxconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Config:
4545
doc: Path = Path(__file__).parent / "doc"
4646
importlinter: Path = Path(__file__).parent / ".import_linter_config"
4747
version_file: Path = (
48-
Path(__file__).parent / "exasol" / "toolbox" / "util" / "version.py"
48+
Path(__file__).parent / "exasol" / "toolbox" / "version.py"
4949
)
5050
path_filters: Iterable[str] = (
5151
"dist",

test/unit/version_test.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212
ReleaseError,
1313
_trigger_release,
1414
)
15-
from exasol.toolbox.version import (
16-
Version,
17-
poetry_command,
18-
)
15+
from exasol.toolbox.version import poetry_command, Version
1916

2017

2118
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)