-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (57 loc) · 1.7 KB
/
pyproject.toml
File metadata and controls
68 lines (57 loc) · 1.7 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# SPDX-License-Identifier: AGPL-3.0-only
# SPDX-FileCopyrightText: 2025 Univention GmbH
[project]
name = "nubus-data-loader"
version = "0.83.1"
description = "Univention Nubus - Provisioning common code"
authors = [
{name = "Univention GmbH", email = "packages@univention.de"},
]
license = {text = "AGPL-3.0-only"}
# Strict python version pinning leads to less churn in the lockfile
requires-python = "==3.11.*"
dependencies = [
"dnspython",
"jinja2",
"pyyaml",
"typer",
"udm-rest-api-client<1.0.0,>=0.0.2",
]
[dependency-groups]
dev = [
"python-jsonpath",
"pdbpp",
"pytest-cov<6.0,>=5.0",
"pytest-mock",
"pytest",
# additional Helm unittest dependencies
# TODO: Currently fails the test container build because of git dependency
# "pytest-helm",
# "pyyaml",
# "setuptools",
]
[project.scripts]
process-join-data = "univention.data_loader.cli:run"
[tool.uv.sources]
pytest-helm = { git = "https://git.knut.univention.de/univention/customers/dataport/upx/tooling/pytest_helm.git", rev = "7e576e8d0179c465102010ae49d0a22d3d46d4d3" }
[tool.hatch.build.targets.wheel]
packages = ["src/univention"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
# exclude helm unittests tests by default
testpaths = [
"tests/unit"
]
log_cli = 0 # activate on the CLI with: "-o log_cli=true"
log_cli_level = "DEBUG"
log_cli_format = "%(asctime)s %(levelname)-5s [%(module)s.%(funcName)s:%(lineno)d] %(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S:%f"
[tool.ruff]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
extend-select = ["I"] # activate isort
[tool.ruff.lint.isort]
known-first-party = ["univention"]