feat: reordering includes
undid my auto formatters reordering of the includes, because I'm assuming that's what the lint-amnesty directives are there for. Best practice would have a human-written comment explaining why they need to stay there, but I'm just going have to assume it's correct, Because no such human-written comment exists. FIXES: APER-2851
This commit is contained in:
@@ -20,17 +20,6 @@ from django.utils.translation import gettext_lazy as _
|
||||
from model_utils import Choices
|
||||
from model_utils.models import TimeStampedModel
|
||||
from opaque_keys.edx.django.models import CourseKeyField
|
||||
from openedx_events.learning.data import ( # lint-amnesty, pylint: disable=wrong-import-order
|
||||
CertificateData,
|
||||
CourseData,
|
||||
UserData,
|
||||
UserPersonalData,
|
||||
)
|
||||
from openedx_events.learning.signals import ( # lint-amnesty, pylint: disable=wrong-import-order
|
||||
CERTIFICATE_CHANGED,
|
||||
CERTIFICATE_CREATED,
|
||||
CERTIFICATE_REVOKED,
|
||||
)
|
||||
from simple_history.models import HistoricalRecords
|
||||
|
||||
from common.djangoapps.student import models_api as student_api
|
||||
@@ -42,6 +31,9 @@ from openedx.core.djangoapps.signals.signals import COURSE_CERT_AWARDED, COURSE_
|
||||
from openedx.core.djangoapps.xmodule_django.models import NoneToEmptyManager
|
||||
from openedx.features.name_affirmation_api.utils import get_name_affirmation_service
|
||||
|
||||
from openedx_events.learning.data import CourseData, UserData, UserPersonalData, CertificateData # lint-amnesty, pylint: disable=wrong-import-order
|
||||
from openedx_events.learning.signals import CERTIFICATE_CHANGED, CERTIFICATE_CREATED, CERTIFICATE_REVOKED # lint-amnesty, pylint: disable=wrong-import-order
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
User = get_user_model()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user