homework_checker/core/checker.py
def check_all_homeworks(self: "Checker") -> Dict[str, HomeworkResultDict]:
        """Run over all Tasks in all homeworks."""
        results: Dict[str, HomeworkResultDict] = {}
        for idx, homework_node in enumerate(self._base_node[Tags.HOMEWORKS_TAG]):
            hw_name = tools.add_number_to_name(idx, homework_node[Tags.NAME_TAG])
            current_homework_results = self.check_homework(homework_node)
            if current_homework_results:
                results[hw_name] = current_homework_results
        return results
Run over all Tasks in all homeworks.
Run over all Tasks in all homeworks.
Run over all Tasks in all homeworks .
def check_all_homeworks(self: "Checker") -> Dict[str, HomeworkResultDict]:
        results: Dict[str, HomeworkResultDict] = {}
        for idx, homework_node in enumerate(self._base_node[Tags.HOMEWORKS_TAG]):
            hw_name = tools.add_number_to_name(idx, homework_node[Tags.NAME_TAG])
            current_homework_results = self.check_homework(homework_node)
            if current_homework_results:
                results[hw_name] = current_homework_results
        return results
def check_all_homeworks ( self : "Checker" ) -> Dict [ str , HomeworkResultDict ] : results : Dict [ str , HomeworkResultDict ] = { } for idx , homework_node in enumerate ( self . _base_node [ Tags . HOMEWORKS_TAG ] ) : hw_name = tools . add_number_to_name ( idx , homework_node [ Tags . NAME_TAG ] ) current_homework_results = self . check_homework ( homework_node ) if current_homework_results : results [ hw_name ] = current_homework_results return results
Run over all Tasks in all homeworks.
Run over all Tasks in all homeworks .
"""Run over all Tasks in all homeworks."""
self
"Checker"