From ec1e41eb4a8271dd7d1b7f852b4edd025b96d75b Mon Sep 17 00:00:00 2001 From: Davy Peter Braun <543614+dheavy@users.noreply.github.com> Date: Sun, 7 Apr 2024 15:43:10 +0200 Subject: [PATCH] Add changes on linted files --- software/source/server/server.py | 4 +++- software/source/server/system_messages/BaseSystemMessage.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/software/source/server/server.py b/software/source/server/server.py index 3f3141ad..c4dd0367 100644 --- a/software/source/server/server.py +++ b/software/source/server/server.py @@ -58,7 +58,9 @@ def split_into_sentences(text): # Queues -from_computer = queue.Queue() # Just for computer messages from the device. Sync queue because interpreter.run is synchronous +from_computer = ( + queue.Queue() +) # Just for computer messages from the device. Sync queue because interpreter.run is synchronous from_user = asyncio.Queue() # Just for user messages from the device. to_device = asyncio.Queue() # For messages we send. diff --git a/software/source/server/system_messages/BaseSystemMessage.py b/software/source/server/system_messages/BaseSystemMessage.py index 7fdaefce..00070a98 100644 --- a/software/source/server/system_messages/BaseSystemMessage.py +++ b/software/source/server/system_messages/BaseSystemMessage.py @@ -237,4 +237,6 @@ ALWAYS REMEMBER: You are running on a device called the O1, where the interface is entirely speech-based. Make your responses to the user **VERY short.** -""".strip().replace("OI_SKILLS_DIR", os.path.join(os.path.dirname(__file__), "skills")) +""".strip().replace( + "OI_SKILLS_DIR", os.path.join(os.path.dirname(__file__), "skills") +)