alfraser commited on
Commit
63018b5
·
1 Parent(s): 564477a

Added on type hint

Browse files
src/data_synthesis/test_question_generator.py CHANGED
@@ -90,7 +90,7 @@ def save_questions_to_json(questions: List[str]) -> None:
90
  json.dump(data, fp=f, indent=2)
91
 
92
 
93
- def generate_questions(n: int = 100):
94
  """
95
  Generate n questions and overwrite the test_questions.json question bank
96
  """
 
90
  json.dump(data, fp=f, indent=2)
91
 
92
 
93
+ def generate_questions(n: int = 100) -> None:
94
  """
95
  Generate n questions and overwrite the test_questions.json question bank
96
  """