1010import nox
1111from nox import Session
1212
13+ from exasol .toolbox .config import BaseConfig
1314from exasol .toolbox .nox ._shared import _context
1415from exasol .toolbox .nox .plugin import NoxTasks
1516from noxconfig import (
1617 PROJECT_CONFIG ,
17- Config ,
1818)
1919
2020
2121def _test_command (
22- path : Path , config : Config , context : MutableMapping [str , Any ]
22+ path : Path , config : BaseConfig , context : MutableMapping [str , Any ]
2323) -> Iterable [str ]:
2424 coverage_command = (
2525 [
@@ -37,14 +37,14 @@ def _test_command(
3737
3838
3939def _unit_tests (
40- session : Session , config : Config , context : MutableMapping [str , Any ]
40+ session : Session , config : BaseConfig , context : MutableMapping [str , Any ]
4141) -> None :
4242 command = _test_command (config .root_path / "test" / "unit" , config , context )
4343 session .run (* command )
4444
4545
4646def _integration_tests (
47- session : Session , config : Config , context : MutableMapping [str , Any ]
47+ session : Session , config : BaseConfig , context : MutableMapping [str , Any ]
4848) -> None :
4949 pm = NoxTasks .plugin_manager (config )
5050
@@ -63,7 +63,7 @@ def _integration_tests(
6363
6464
6565def _coverage (
66- session : Session , config : Config , context : MutableMapping [str , Any ]
66+ session : Session , config : BaseConfig , context : MutableMapping [str , Any ]
6767) -> None :
6868 command = ["coverage" , "report" , "-m" ]
6969 coverage_file = config .root_path / ".coverage"
0 commit comments