Skip to content

Commit

Permalink
Linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovcmedeiros committed Feb 4, 2024
1 parent 22053e7 commit 29e7268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyrobbot/voice_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def handle_listening(
self.interrupt_reply.set()
check_for_cancel_expressions_queue.task_done()

else:
else: # noqa: PLR5501
# Check for the exit expressions
if any(
_get_lower_alphanumeric(question).startswith(
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/test_text_to_speech.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import contextlib
import io

import pytest
from pydantic import ValidationError
from pydub import AudioSegment
from sounddevice import PortAudioError

from pyrobbot.chat_configs import VoiceChatConfigs
from pyrobbot.sst_and_tts import SpeechToText, TextToSpeech
from pyrobbot.sst_and_tts import SpeechToText
from pyrobbot.voice_chat import VoiceChat


Expand Down

0 comments on commit 29e7268

Please sign in to comment.