Browse Source

.tomlFixes

tags/test-git
Mati-ur-rehman-017 10 months ago
parent
commit
259451ff10
39 changed files with 46 additions and 76 deletions
  1. +1
    -1
      apis/python/node/pyproject.toml
  2. +1
    -1
      binaries/cli/pyproject.toml
  3. +2
    -2
      binaries/cli/src/template/python/__node-name__/pyproject.toml
  4. +3
    -2
      binaries/cli/src/template/python/listener/listener-template.py
  5. +6
    -5
      binaries/cli/src/template/python/talker/talker-template.py
  6. +1
    -2
      node-hub/dora-argotranslate/pyproject.toml
  7. +1
    -2
      node-hub/dora-distil-whisper/pyproject.toml
  8. +1
    -2
      node-hub/dora-echo/pyproject.toml
  9. +1
    -2
      node-hub/dora-internvl/pyproject.toml
  10. +1
    -2
      node-hub/dora-ios-lidar/pyproject.toml
  11. +1
    -2
      node-hub/dora-keyboard/pyproject.toml
  12. +1
    -2
      node-hub/dora-kit-car/pyproject.toml
  13. +1
    -2
      node-hub/dora-kokoro-tts/pyproject.toml
  14. +1
    -2
      node-hub/dora-microphone/pyproject.toml
  15. +1
    -2
      node-hub/dora-object-to-pose/pyproject.toml
  16. +0
    -1
      node-hub/dora-openai-server/pyproject.toml
  17. +1
    -2
      node-hub/dora-opus/pyproject.toml
  18. +1
    -2
      node-hub/dora-outtetts/pyproject.toml
  19. +1
    -2
      node-hub/dora-parler/pyproject.toml
  20. +1
    -2
      node-hub/dora-piper/pyproject.toml
  21. +1
    -2
      node-hub/dora-pyaudio/pyproject.toml
  22. +1
    -1
      node-hub/dora-pyorbbecksdk/pyproject.toml
  23. +1
    -2
      node-hub/dora-pyrealsense/pyproject.toml
  24. +1
    -2
      node-hub/dora-qwen/pyproject.toml
  25. +1
    -2
      node-hub/dora-qwen2-5-vl/pyproject.toml
  26. +1
    -2
      node-hub/dora-qwenvl/pyproject.toml
  27. +1
    -2
      node-hub/dora-rdt-1b/pyproject.toml
  28. +1
    -1
      node-hub/dora-reachy2/pyproject.toml
  29. +1
    -2
      node-hub/dora-rerun/pyproject.toml
  30. +1
    -2
      node-hub/dora-sam2/pyproject.toml
  31. +1
    -2
      node-hub/dora-ugv/pyproject.toml
  32. +1
    -2
      node-hub/dora-vad/pyproject.toml
  33. +1
    -2
      node-hub/dora-yolo/pyproject.toml
  34. +1
    -2
      node-hub/llama-factory-recorder/pyproject.toml
  35. +1
    -2
      node-hub/opencv-plot/pyproject.toml
  36. +1
    -2
      node-hub/opencv-video-capture/pyproject.toml
  37. +1
    -2
      node-hub/pyarrow-assert/pyproject.toml
  38. +1
    -2
      node-hub/pyarrow-sender/pyproject.toml
  39. +1
    -2
      node-hub/terminal-input/pyproject.toml

+ 1
- 1
apis/python/node/pyproject.toml View File

@@ -20,4 +20,4 @@ features = ["pyo3/extension-module"]
[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 1
binaries/cli/pyproject.toml View File

@@ -16,4 +16,4 @@ features = ["python", "pyo3/extension-module"]
[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 2
- 2
binaries/cli/src/template/python/__node-name__/pyproject.toml View File

@@ -17,5 +17,5 @@ __node-name__ = "__node_name__.main:main"

[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
"D",
]

+ 3
- 2
binaries/cli/src/template/python/listener/listener-template.py View File

@@ -1,13 +1,14 @@
from dora import Node
"""Module to process node input events and print received messages."""

from dora import Node

def main():
"""Listen for input events and print received messages."""
node = Node()
for event in node:
if event["type"] == "INPUT":
message = event["value"][0].as_py()
print(f"""I heard {message} from {event["id"]}""")


if __name__ == "__main__":
main()

+ 6
- 5
binaries/cli/src/template/python/talker/talker-template.py View File

@@ -1,20 +1,21 @@
"""Module to handle node input events and send speech output."""

import pyarrow as pa
from dora import Node


def main():
"""Process node input events and send speech output."""
node = Node()

for event in node:
if event["type"] == "INPUT":
print(
f"""Node received:
id: {event["id"]},
value: {event["value"]},
metadata: {event["metadata"]}""",
id: {event["id"]},
value: {event["value"]},
metadata: {event["metadata"]}""",
)
node.send_output("speech", pa.array(["Hello World"]))


if __name__ == "__main__":
main()

+ 1
- 2
node-hub/dora-argotranslate/pyproject.toml View File

@@ -19,8 +19,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-argotranslate = "dora_argotranslate.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-distil-whisper/pyproject.toml View File

@@ -28,8 +28,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-distil-whisper = "dora_distil_whisper.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-echo/pyproject.toml View File

@@ -18,8 +18,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-echo = "dora_echo.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-internvl/pyproject.toml View File

@@ -31,8 +31,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-internvl = "dora_internvl.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-ios-lidar/pyproject.toml View File

@@ -15,8 +15,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-ios-lidar = "dora_ios_lidar.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-keyboard/pyproject.toml View File

@@ -24,8 +24,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-keyboard = "dora_keyboard.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-kit-car/pyproject.toml View File

@@ -16,8 +16,7 @@ scripts = { "dora-kit-car" = "dora_kit_car:py_main" }
[tool.maturin]
features = ["python", "pyo3/extension-module"]


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-kokoro-tts/pyproject.toml View File

@@ -15,8 +15,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-kokoro-tts = "dora_kokoro_tts.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-microphone/pyproject.toml View File

@@ -24,8 +24,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-microphone = "dora_microphone.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-object-to-pose/pyproject.toml View File

@@ -15,8 +15,7 @@ scripts = { "dora-object-to-pose" = "dora_object_to_pose:py_main" }
[tool.maturin]
features = ["python", "pyo3/extension-module"]


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 0
- 1
node-hub/dora-openai-server/pyproject.toml View File

@@ -27,7 +27,6 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-openai-server = "dora_openai_server.main:main"


[tool.ruff.lint]
extend-select = ["I","D"]


+ 1
- 2
node-hub/dora-opus/pyproject.toml View File

@@ -28,8 +28,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-opus = "dora_opus.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-outtetts/pyproject.toml View File

@@ -28,8 +28,7 @@ llama-cpp-python = [
[project.scripts]
dora-outtetts = "dora_outtetts.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-parler/pyproject.toml View File

@@ -30,8 +30,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-parler = "dora_parler.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-piper/pyproject.toml View File

@@ -15,8 +15,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-piper = "dora_piper.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-pyaudio/pyproject.toml View File

@@ -20,8 +20,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-pyaudio = "dora_pyaudio.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 1
node-hub/dora-pyorbbecksdk/pyproject.toml View File

@@ -22,4 +22,4 @@ dora-pyorbbecksdk = "dora_pyorbbecksdk.main:main"
[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-pyrealsense/pyproject.toml View File

@@ -21,8 +21,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-pyrealsense = "dora_pyrealsense.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-qwen/pyproject.toml View File

@@ -42,8 +42,7 @@ explicit = true
[project.scripts]
dora-qwen = "dora_qwen.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-qwen2-5-vl/pyproject.toml View File

@@ -49,8 +49,7 @@ dora-qwen2-5-vl = "dora_qwen2_5_vl.main:main"
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-qwenvl/pyproject.toml View File

@@ -36,8 +36,7 @@ transformers = { git = "https://github.com/huggingface/transformers" }
[project.scripts]
dora-qwenvl = "dora_qwenvl.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-rdt-1b/pyproject.toml View File

@@ -48,8 +48,7 @@ exclude = ["dora_rdt_1b/RoboticsDiffusionTransformer"]
requires = ["poetry-core>=1.8.0"]
build-backend = "poetry.core.masonry.api"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 1
node-hub/dora-reachy2/pyproject.toml View File

@@ -28,4 +28,4 @@ dora-reachy2-head = "dora_reachy2.head:main"
[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-rerun/pyproject.toml View File

@@ -19,8 +19,7 @@ scripts = { "dora-rerun" = "dora_rerun:py_main" }
[tool.maturin]
features = ["python", "pyo3/extension-module"]


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-sam2/pyproject.toml View File

@@ -20,8 +20,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-sam2 = "dora_sam2.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-ugv/pyproject.toml View File

@@ -16,8 +16,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-ugv = "dora_ugv.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-vad/pyproject.toml View File

@@ -16,8 +16,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-vad = "dora_vad.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/dora-yolo/pyproject.toml View File

@@ -18,8 +18,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
dora-yolo = "dora_yolo.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/llama-factory-recorder/pyproject.toml View File

@@ -22,8 +22,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
llama-factory-recorder = "llama_factory_recorder.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/opencv-plot/pyproject.toml View File

@@ -18,8 +18,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
opencv-plot = "opencv_plot.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/opencv-video-capture/pyproject.toml View File

@@ -18,8 +18,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
opencv-video-capture = "opencv_video_capture.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/pyarrow-assert/pyproject.toml View File

@@ -19,8 +19,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
pyarrow-assert = "pyarrow_assert.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/pyarrow-sender/pyproject.toml View File

@@ -20,8 +20,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
pyarrow-sender = "pyarrow_sender.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

+ 1
- 2
node-hub/terminal-input/pyproject.toml View File

@@ -20,8 +20,7 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
[project.scripts]
terminal-input = "terminal_input.main:main"


[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
]
]

Loading…
Cancel
Save