Skip to content

Commit ece0931

Browse files
committed
fix docstring
1 parent 8461301 commit ece0931

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/agentlab/benchmarks/gaia.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,13 @@ def normalize_str(input_str, remove_punct=True) -> str:
250250
- Removing all white spaces
251251
- Optionally removing punctuation (if remove_punct is True)
252252
- Converting to lowercase
253-
Parameters:
254-
- input_str: str, the string to normalize
255-
- remove_punct: bool, whether to remove punctuation (default: True)
253+
254+
Args:
255+
input_str: str, the string to normalize
256+
remove_punct: bool, whether to remove punctuation (default: True)
257+
256258
Returns:
257-
- str, the normalized string
259+
str, the normalized string
258260
"""
259261
# Remove all white spaces. Required e.g for seagull vs. sea gull
260262
no_spaces = re.sub(r"\s", "", input_str)

0 commit comments

Comments
 (0)