Skip to content

Commit 54cfb15

Browse files
fix
1 parent f45ca23 commit 54cfb15

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

exasol/toolbox/BaseConfig/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
from pydantic import (
1010
AfterValidator,
1111
BaseModel,
12+
ConfigDict,
1213
computed_field,
13-
ConfigDict
1414
)
1515
from pydantic.dataclasses import dataclass
1616

project-template/{{cookiecutter.repo_name}}/noxconfig.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
from dataclasses import dataclass
44
from pathlib import Path
55
from typing import Iterable
6-
from exasol.toolbox.BaseConfig import BaseConfig
76

87

9-
class Config(BaseConfig):
8+
class Config():
109
root: Path = Path(__file__).parent
1110
doc: Path = Path(__file__).parent / "doc"
1211
source: Path = Path("exasol/{{cookiecutter.package_name}}")

test/unit/documentation_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
_docs_links_check,
1212
_docs_list_links,
1313
)
14-
from noxconfig import Config
14+
from noxconfig import PROJECT_CONFIG
1515

1616

1717
@pytest.fixture()
@@ -44,7 +44,7 @@ def config(index, file, tmp_path):
4444
test_doc = tmp_path / "doc"
4545
test_doc.mkdir()
4646
(test_doc / "_static").mkdir()
47-
shutil.copyfile(Config.doc / "conf.py", test_doc / "conf.py")
47+
shutil.copyfile(PROJECT_CONFIG.doc / "conf.py", test_doc / "conf.py")
4848
rst_index = test_doc / "index.rst"
4949
rst_file1 = test_doc / "file.rst"
5050
rst_index.touch()

0 commit comments

Comments
 (0)