mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-17 12:45:26 +01:00
Refactoring and suggestions (#334)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# list all folders in benchmark folder
|
||||
# for each folder, run the benchmark
|
||||
|
||||
import contextlib
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
@@ -59,7 +60,7 @@ def main(
|
||||
print(f.read())
|
||||
print()
|
||||
|
||||
try:
|
||||
with contextlib.suppress(KeyboardInterrupt):
|
||||
subprocess.run(
|
||||
[
|
||||
"python",
|
||||
@@ -70,8 +71,6 @@ def main(
|
||||
"execute_only",
|
||||
],
|
||||
)
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user