Skip to content

Commit

Permalink
Reformatted disk_execution_env.py using black
Browse files Browse the repository at this point in the history
  • Loading branch information
artshcherbina committed Sep 28, 2024
1 parent 52072e2 commit 643b077
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gpt_engineer/core/default/disk_execution_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import fcntl
import os


# Taken from https://gist.github.com/sebclaeys/1232088
def non_block_read(output):
fd = output.fileno()
Expand All @@ -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
Expand Down

0 comments on commit 643b077

Please sign in to comment.