From 643b077ece175024653c4318df921b2ecbd41b09 Mon Sep 17 00:00:00 2001 From: Artem Shcherbina Date: Sat, 28 Sep 2024 14:56:22 +0300 Subject: [PATCH] Reformatted disk_execution_env.py using black --- gpt_engineer/core/default/disk_execution_env.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gpt_engineer/core/default/disk_execution_env.py b/gpt_engineer/core/default/disk_execution_env.py index 8dfcbbc24b..42c2ca42e0 100644 --- a/gpt_engineer/core/default/disk_execution_env.py +++ b/gpt_engineer/core/default/disk_execution_env.py @@ -35,6 +35,7 @@ import fcntl import os + # Taken from https://gist.github.com/sebclaeys/1232088 def non_block_read(output): fd = output.fileno() @@ -45,6 +46,7 @@ def non_block_read(output): except: return "" + class DiskExecutionEnv(BaseExecutionEnv): """ An execution environment that runs code on the local file system and captures