remove ruff

This commit is contained in:
2026-05-24 00:05:10 -04:00
parent 87a578f1de
commit 4eea8583de
4 changed files with 5 additions and 64 deletions
+1 -1
View File
@@ -291,4 +291,4 @@ def embedding(
raw = json.loads(raw)
if not isinstance(raw, list):
raw = list(raw)
return raw
return list[float](raw)
+4 -2
View File
@@ -433,10 +433,12 @@ def test_speak_plain_with_mock_tts(
asyncio.run(main_module._speak_plain(mock_ctx, "hello world", mock_tts_engine))
from vibe_bot.config import TTS_SPEED, TTS_VOICE
mock_tts_engine.generate_audio.assert_called_once_with(
"hello world",
voice=main_module.TTS_VOICE, # type: ignore[attr-defined]
speed=main_module.TTS_SPEED, # type: ignore[attr-defined]
voice=TTS_VOICE,
speed=TTS_SPEED,
)
assert mock_ctx.send.call_count >= 2