Skip to content

Commit 533e9b2

Browse files
fix
1 parent 5fc4cc2 commit 533e9b2

File tree

6 files changed

+14
-130
lines changed

6 files changed

+14
-130
lines changed

exasol/toolbox/nox/_release.py

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

2528

exasol/toolbox/sphinx/multiversion/sphinx.py

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

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

1515
logger = logging.getLogger(__name__)
1616

exasol/toolbox/util/version.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
import subprocess
44
from dataclasses import dataclass
55
from enum import Enum
6-
from functools import wraps, total_ordering
6+
from functools import (
7+
total_ordering,
8+
wraps,
9+
)
710
from pathlib import Path
811
from shutil import which
912
from typing import Any

exasol/toolbox/version/__init__.py

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

noxconfig.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ class Config:
4444
root: Path = Path(__file__).parent
4545
doc: Path = Path(__file__).parent / "doc"
4646
importlinter: Path = Path(__file__).parent / ".import_linter_config"
47-
version_file: Path = (
48-
Path(__file__).parent / "exasol" / "toolbox" / "util" / "version.py"
49-
)
47+
version_file: Path = Path(__file__).parent / "exasol" / "toolbox" / "version.py"
5048
path_filters: Iterable[str] = (
5149
"dist",
5250
".eggs",

test/unit/version_test.py

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

1720

1821
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)