Donutsever commited on
Commit
dd0dd83
·
verified ·
1 Parent(s): 6675d4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,7 +19,7 @@ def analyze_code_complexity(code: str) -> list:
19
  """Analyzes the cyclomatic complexity of functions in the given code.
20
 
21
  Args:
22
- code (str): The Python source code as a string.
23
 
24
  Returns:
25
  list: A list of warnings if any function has high complexity.
@@ -41,7 +41,7 @@ def detect_code_issues(code: str) -> list:
41
  undefined variables, unused imports, and function complexity.
42
 
43
  Args:
44
- code (str): The Python source code to analyze.
45
 
46
  Returns:
47
  list: A list of detected issues in the code.
 
19
  """Analyzes the cyclomatic complexity of functions in the given code.
20
 
21
  Args:
22
+ code: The Python source code as a string.
23
 
24
  Returns:
25
  list: A list of warnings if any function has high complexity.
 
41
  undefined variables, unused imports, and function complexity.
42
 
43
  Args:
44
+ code: The Python source code to analyze.
45
 
46
  Returns:
47
  list: A list of detected issues in the code.