From ec74716d58f73fd5c1096c40985fc02feb9697ab Mon Sep 17 00:00:00 2001 From: SowinskiBraeden Date: Fri, 2 Dec 2022 17:01:09 -0800 Subject: [PATCH] neat variable declaration --- app/generator.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/generator.py b/app/generator.py index 32c3986..760e088 100644 --- a/app/generator.py +++ b/app/generator.py @@ -95,9 +95,10 @@ def generateScheduleV3( # Step 2 - Generate empty classes - allClassRunCounts = [] - courseRunInfo = {} # Generated now, used in step 4 - emptyClasses = {} # List of all classes with how many students should be entered during step 3 + allClassRunCounts: list[int] = [] + courseRunInfo: dict[str: dict[str: any]] = {} # Generated now, used in step 4 + emptyClasses: dict[str: dict[str: any]] = {} # List of all classes with how many students should be entered during step 3 + # calculate number of times to run class for i in range(len(activeCourses)): index = list(activeCourses)[i]