core.models.assignment_group: Fixed flake8 errors.