-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (98 loc) · 2.42 KB
/
Copy pathpyproject.toml
File metadata and controls
109 lines (98 loc) · 2.42 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[project]
name = "sync_tooling"
description = "Tool suite to monitor and diagnose sensor and ECU synchronization"
version = "0.2.7"
authors = [{ name = "Max Schmeller", email = "max.schmeller@tier4.jp" }]
requires-python = ">=3.10"
dependencies = ["bottleneck>=1.3.6", "numexpr>=2.8.4", "numpy<2"]
[dependency-groups]
dev = [
"ansible-dev-tools>=25.4.0",
"lark>=1.2.2",
"mkdocs-drawio>=1.8.2",
"mkdocs>=1.6.1",
"mkdocs-api-autonav>=0.2.1",
"mkdocs-autorefs>=1.4.1",
"mkdocs-material>=9.6.9",
"mkdocs-section-index>=0.3.9",
"mkdocstrings[python]>=0.29.0",
"pproxy>=2.7.9",
"pyinstrument>=5.0.1",
"pytest-cov>=6.0.0",
"mkdocs-macros-plugin>=1.3.7",
"pymdown-extensions>=10.15",
]
[project.scripts]
diag-master = "diag_master.main:main"
diag-worker = "diag_worker.main:main"
[tool.uv]
python-preference = "only-system"
[tool.uv.sources]
journal_monitor = { workspace = true }
linuxptp_monitor = { workspace = true }
pmc_monitor = { workspace = true }
diag_worker = { workspace = true }
diag_master = { workspace = true }
sync_graph = { workspace = true }
ros2_transport = { workspace = true }
sync_tooling_msgs = { workspace = true }
[tool.uv.workspace]
members = [
"journal_monitor",
"linuxptp_monitor",
"pmc_monitor",
"diag_worker",
"diag_master",
"sync_graph",
"http_transport",
"sync_tooling_msgs",
"ros2_transport",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = [
"journal_monitor/src/journal_monitor",
"linuxptp_monitor/src/linuxptp_monitor",
"pmc_monitor/src/pmc_monitor",
"diag_worker/src/diag_worker",
"diag_master/src/diag_master",
"sync_graph/src/sync_graph",
"ros2_transport/src/ros2_transport",
"sync_tooling_msgs/src/sync_tooling_msgs",
]
[tool.pytest.ini_options]
python_files = ["test_*.py", "*_test.py", "*_examples.py"]
addopts = ["--import-mode=importlib"]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = [
"B",
"C",
"D",
"E",
"F",
"I",
"N",
"Q",
"W",
"BLE",
"RUF",
"FAST",
"SIM",
"TC",
"YTT",
"PERF",
"FLY",
"PD",
"NPY",
"PLC",
]
ignore = ["D203", "D212", "E501", "N817", "TC001", "W291", "W292", "W293"]
pydocstyle = {"convention" = "google"}
[tool.ruff.lint.per-file-ignores]
"scripts/*" = ["D"]
"**/tests/*" = ["D"]
"**/examples/*" = ["D"]