mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-23 15:48:11 +02:00
Add type annotations, describe function return values, and remove unused code
Summary of Changes: - Added type annotations for improved code clarity - Describe function return values for better documentation - Removed unused functions and variables to declutter the code Related to: #736
This commit is contained in:
parent
1a1610a67e
commit
f605fc4617
2 changed files with 21 additions and 39 deletions
|
|
@ -8,8 +8,6 @@ async def test_code_running():
|
|||
executor = ExecuteNbCode()
|
||||
output, is_success = await executor.run("print('hello world!')")
|
||||
assert is_success
|
||||
output, is_success = await executor.run({"code": "print('hello world!')", "language": "python"})
|
||||
assert is_success
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue