-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (64 loc) · 1.42 KB
/
pyproject.toml
File metadata and controls
72 lines (64 loc) · 1.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
[project]
name = "nemotron-voice-agent"
version = "1.0.0"
description = "Voice Agent Example"
readme = "README.md"
requires-python = ">=3.12,<3.14"
dependencies = [
"nvidia-pipecat",
"pipecat-ai[silero,openai,runner,webrtc,websocket,nvidia,tracing]==0.0.98",
"pyyaml>=6.0.2",
"rapidfuzz>=3.14.0",
"uvicorn>=0.34.0",
"python-dotenv>=1.0.1",
"opentelemetry-exporter-otlp-proto-http>=1.39.1",
"opentelemetry-exporter-otlp-proto-grpc>=1.39.1",
"wheel>=0.46.2",
]
[tool.uv.sources]
nvidia-pipecat = { path = "./nvidia-pipecat", editable = true }
torch = { index = "pytorch" }
# Force patched versions for known CVEs
[tool.uv]
override-dependencies = [
"pillow>=12.1.1",
"nltk>=3.9.3",
"setuptools>=80",
"grpcio>=1.71",
"protobuf==5.29.6",
"cryptography>=46.0.5",
"python-multipart>=0.0.22",
]
[[tool.uv.index]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[dependency-groups]
dev = [
"ruff>=0.11.13",
"pre-commit>=4.0.0",
]
[tool.ruff]
line-length = 120
###############################################################################
# Linting Rules
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# docstring checks
"D"
]
ignore = ["SIM108"]
[tool.ruff.lint.pydocstyle]
convention = "google"