-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnoxconfig.py
32 lines (25 loc) · 905 Bytes
/
noxconfig.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"""Configuration for nox based task runner"""
from __future__ import annotations
from collections.abc import Iterable
from dataclasses import dataclass
from pathlib import Path
from exasol.toolbox.nox.plugin import hookimpl
from exasol.toolbox.tools.replace_version import update_workflow
@dataclass(frozen=True)
class Config:
"""Project specific configuration used by nox infrastructure"""
root: Path = Path(__file__).parent
doc: Path = Path(__file__).parent / "doc"
importlinter: Path = Path(__file__).parent / ".import_linter_config"
version_file: Path = Path(__file__).parent / "version.py"
path_filters: Iterable[str] = (
"dist",
".eggs",
"venv",
"metrics-schema",
"idioms",
)
python_versions = ["3.10", "3.11", "3.12", "3.13"]
exasol_versions = ["7.1.9"]
plugins = []#[UpdateTemplates]
PROJECT_CONFIG = Config()