diff --git a/openedx/core/djangoapps/lang_pref/views.py b/openedx/core/djangoapps/lang_pref/views.py index fbbe93cc7a..93e2cf048a 100644 --- a/openedx/core/djangoapps/lang_pref/views.py +++ b/openedx/core/djangoapps/lang_pref/views.py @@ -11,7 +11,6 @@ from django.utils.translation import LANGUAGE_SESSION_KEY from django.views.decorators.csrf import ensure_csrf_cookie from openedx.core.djangoapps.lang_pref import COOKIE_DURATION, LANGUAGE_KEY -from openedx.core.lib.mobile_utils import is_request_from_mobile_app # lint-amnesty, pylint: disable=unused-import @ensure_csrf_cookie diff --git a/openedx/core/djangoapps/oauth_dispatch/tests/test_jwt.py b/openedx/core/djangoapps/oauth_dispatch/tests/test_jwt.py index 3eeae45d4f..251f3db6a6 100644 --- a/openedx/core/djangoapps/oauth_dispatch/tests/test_jwt.py +++ b/openedx/core/djangoapps/oauth_dispatch/tests/test_jwt.py @@ -1,7 +1,4 @@ """ Tests for OAuth Dispatch's jwt module. """ - - -import itertools # lint-amnesty, pylint: disable=unused-import from datetime import timedelta from unittest.mock import patch diff --git a/openedx/core/djangoapps/schedules/signals.py b/openedx/core/djangoapps/schedules/signals.py index dc9c31ebc0..0f3a3d944e 100644 --- a/openedx/core/djangoapps/schedules/signals.py +++ b/openedx/core/djangoapps/schedules/signals.py @@ -20,8 +20,7 @@ from openedx.core.djangoapps.schedules.content_highlights import course_has_high from openedx.core.djangoapps.schedules.models import ScheduleExperience from openedx.core.djangoapps.schedules.utils import reset_self_paced_schedule from common.djangoapps.student.models import CourseEnrollment -from common.djangoapps.student.signals import ENROLLMENT_TRACK_UPDATED - +from common.djangoapps.student.signals import ENROLLMENT_TRACK_UPDATED # lint-amnesty, pylint: disable=unused-import from .models import Schedule from .tasks import update_course_schedules diff --git a/openedx/core/djangoapps/schedules/utils.py b/openedx/core/djangoapps/schedules/utils.py index fef6760855..d40eed3472 100644 --- a/openedx/core/djangoapps/schedules/utils.py +++ b/openedx/core/djangoapps/schedules/utils.py @@ -4,8 +4,6 @@ import datetime import logging import pytz -from django.db.models import F, Subquery # lint-amnesty, pylint: disable=unused-import -from django.db.models.functions import Greatest # lint-amnesty, pylint: disable=unused-import from django.db import transaction from openedx.core.djangoapps.schedules.models import Schedule