-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
76 lines (67 loc) · 1.55 KB
/
pyproject.toml
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
69
70
71
72
73
74
75
76
[project]
name = "cgse"
version = "0.5.1"
description = "Generic Common-EGSE: Commanding and monitoring lab equipment"
authors = [
{name = "Rik Huygen", email = "[email protected]"},
{name = "Sara Regibo", email = "[email protected]"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"rich>=13.9.4",
"tomlkit>=0.13.2",
]
[tool.pytest.ini_options]
pythonpath = [
"libs/cgse-common/src",
"libs/cgse-core/src",
"libs/cgse-coordinates/src",
]
testpaths = [
"libs/cgse-common/tests",
"libs/cgse-core/tests",
"libs/cgse-coordinates/tests",
]
addopts = "-rA --cov --cov-branch --cov-report html"
filterwarnings = [
"ignore::DeprecationWarning"
]
[tool.coverage.run]
omit = [
"*/tests/*",
"conftest.py",
]
[tool.coverage.report]
fail_under = 80
[tool.uv.sources]
cgse-common = { workspace = true }
cgse-core = { workspace = true }
cgse-coordinates = { workspace = true }
cgse-gui = { workspace = true }
cgse-tools = { workspace = true }
plato-spw = { workspace = true }
[tool.uv.workspace]
members = ["libs/*", "projects/generic/*", "projects/plato/*"]
exclude = ["docs/*"]
[tool.ruff.lint]
extend-select = ["E", "W"]
[tool.hatch.build.targets.wheel]
only-include = ["bump.py", "README.md"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"pytest-mock>=3.14.0",
"ruff>=0.9.0",
]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocs-autorefs",
"mkdocstrings-python",
]