Update ai_functions.py

Unnecessary spaces
This commit is contained in:
Andres Caicedo
2023-04-04 10:48:19 +02:00
parent cd164648ba
commit 27bf7c47e9

View File

@@ -6,7 +6,6 @@ from json_parser import fix_and_parse_json
cfg = Config()
# Evaluating code
def evaluate_code(code: str) -> List[str]:
"""Evaluates the given code and returns a list of suggestions for improvements."""
function_string = "def analyze_code(code: str) -> List[str]:"
@@ -19,7 +18,6 @@ def evaluate_code(code: str) -> List[str]:
# Improving code
def improve_code(suggestions: List[str], code: str) -> str:
"""Improves the provided code based on the suggestions provided, making no other changes."""
function_string = (
@@ -33,8 +31,6 @@ def improve_code(suggestions: List[str], code: str) -> str:
# Writing tests
def write_tests(code: str, focus: List[str]) -> str:
"""Generates test cases for the existing code, focusing on specific areas if required."""
function_string = (