-
Notifications
You must be signed in to change notification settings - Fork 965
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (126 loc) · 3.21 KB
/
pyproject.toml
File metadata and controls
138 lines (126 loc) · 3.21 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[project]
name = "om1"
version = "0.1.0"
description = "OM1 - a modern agent and robotics runtime system"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"ultralytics==8.3.156",
"soundfile==0.13.1",
"sounddevice==0.5.2",
"pynmeagps==1.0.50",
"bleak==0.22.3",
"matplotlib==3.10.1",
"json5==0.10.0",
"jsonschema==4.23.0",
"pycdr2==1.0.0",
"eclipse-zenoh==1.4.0",
"pyaudio==0.2.14",
"openai==1.60.1",
"pillow==12.1.1",
"python-dotenv==1.0.1",
"typer==0.15.1",
"opencv-python==4.11.0.86",
"deepface==0.0.93",
"web3==7.6.0",
"numpy==2.0.2",
"cdp-sdk==0.21.0",
"hid==1.0.6",
"cv_bridge==1.13.0.post0",
"torch==2.6.0",
"torchvision==0.21.0",
"pyserial==3.5",
"py-mjpeg==1.0.1",
"fastapi==0.115.8",
"uvicorn==0.34.0",
"websockets==13.1",
"om1-modules @ git+https://github.com/OpenMind/om1-modules.git@56fbb4f498e67b666306d9b11f7422d9447db92b",
"aiohttp==3.13.3",
"pynput==1.8.1",
"dimo-python-sdk @ git+https://github.com/openminddev/dimo-python-sdk.git@6b47fcd28654a4145cedee649a0999a8eb08a2f6",
"nest-asyncio==1.6.0",
"tf-keras==2.18.0",
"faiss-cpu>=1.7.4",
]
[project.optional-dependencies]
dds = [
"cyclonedds==0.10.2"
]
macos = ["osascript"]
[dependency-groups]
dev = [
"black==25.1.0",
"isort==6.0.0",
"pre-commit==4.1.0",
"pyright==1.1.408",
"pytest==8.3.4",
"pytest-asyncio==0.25.2",
"pytest-cov==6.0.0",
"ruff==0.9.3",
"vulture==2.14",
]
[tool.pytest.ini_options]
pythonpath = ["src"]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"
addopts = "-m \"not integration\""
norecursedirs = ["src/unitree", "system_hw_test", "src/ubtech"]
markers = [
"integration: marks tests as integration tests",
]
filterwarnings = [
"ignore:builtin type.*has no __module__ attribute:DeprecationWarning",
"ignore:coroutine 'AsyncMockMixin._execute_mock_call' was never awaited:RuntimeWarning",
]
[tool.coverage.run]
source = ["src"]
omit = [
"src/unitree/*",
"src/ubtech/*",
"*/tests/*",
"*/__pycache__/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
fail_under = 65
show_missing = true
skip_covered = false
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = "(.venv)|(/src/unitree)|(/src/ubtech)"
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
sources = ["src", "tests"]
skip_glob = [".venv*", "/src/unitree", "/src/ubtech"]
[tool.ruff]
line-length = 88
indent-width = 4
src = ["src"]
exclude = ["src/unitree", "src/ubtech"]
[tool.ruff.lint]
select = ["E", "F", "D"]
ignore = ["E203", "E501", "D100", "D104", "D200", "D205", "D401", "D404"]
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["D"]
"system_hw_test/**" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.vulture]
exclude = ["src/unitree/", "src/ubtech/", "system_hw_test/"]
min_confidence = 80
paths = ["src"]