mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-24 01:14:22 +01:00
Add static linters ci (#45)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from agbenchmark.Challenge import Challenge
|
||||
from agbenchmark.challenge import Challenge
|
||||
|
||||
|
||||
def basic_read_file_mock(task: str, workspace: str):
|
||||
def basic_read_file_mock(task: str, workspace: str) -> None:
|
||||
"""
|
||||
This mock reads a file and returns its content.
|
||||
"""
|
||||
@@ -13,7 +13,7 @@ def basic_read_file_mock(task: str, workspace: str):
|
||||
)
|
||||
|
||||
|
||||
def basic_write_file_mock(task: str, workspace: str):
|
||||
def basic_write_file_mock(task: str, workspace: str) -> None:
|
||||
"""
|
||||
This mock writes to a file (creates one if it doesn't exist)
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user