Skip to content

Commit 5e6ba33

Browse files
authored
fix: quality fixes
1 parent 212d0e9 commit 5e6ba33

6 files changed

Lines changed: 0 additions & 36 deletions

File tree

common/djangoapps/student/views/dashboard.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,6 @@
5858
from openedx.core.djangolib.markup import HTML, Text
5959
from openedx.features.content_type_gating.models import ContentTypeGatingConfig
6060
from openedx.features.course_duration_limits.access import get_user_course_duration, get_user_course_expiration_date
61-
from common.djangoapps.student.api import COURSE_DASHBOARD_PLUGIN_VIEW_NAME
62-
from common.djangoapps.student.helpers import cert_info, check_verify_status_by_course, get_resume_urls_for_enrollments
63-
from common.djangoapps.student.models import (
64-
AccountRecovery,
65-
CourseEnrollment,
66-
CourseEnrollmentAttribute,
67-
DashboardConfiguration,
68-
PendingSecondaryEmailChange,
69-
UserProfile
70-
)
71-
from common.djangoapps.util.milestones_helpers import get_pre_requisite_courses_not_completed
7261
from xmodule.modulestore.django import modulestore # lint-amnesty, pylint: disable=wrong-import-order
7362

7463
log = logging.getLogger("edx.student")

common/djangoapps/student/views/management.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,7 @@
5454
render_to_response,
5555
render_to_string, # noqa: F401
5656
)
57-
from openedx.core.djangolib.markup import HTML, Text
58-
from openedx.core.lib.api.authentication import BearerAuthenticationAllowInactiveUser
5957
from common.djangoapps.entitlements.models import CourseEntitlement
60-
from openedx.features.course_experience.url_helpers import make_learning_mfe_courseware_url
61-
from openedx.features.discounts.applicability import FIRST_PURCHASE_DISCOUNT_OVERRIDE_FLAG
6258
from common.djangoapps.student.email_helpers import generate_activation_email_context
6359
from common.djangoapps.student.helpers import (
6460
DISABLE_UNENROLL_CERT_STATES,

common/djangoapps/third_party_auth/pipeline.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,6 @@ def B(*args, **kwargs):
8484

8585
from common.djangoapps import third_party_auth
8686
from common.djangoapps.edxmako.shortcuts import render_to_string
87-
from lms.djangoapps.verify_student.models import SSOVerification
88-
from lms.djangoapps.verify_student.utils import earliest_allowed_verification_date
89-
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers
90-
from openedx.core.djangoapps.user_api import accounts
91-
from openedx.core.djangoapps.user_api.accounts.utils import username_suffix_generator
92-
from openedx.core.djangoapps.user_authn import cookies as user_authn_cookies
93-
from openedx.core.djangoapps.user_authn.toggles import is_auto_generated_username_enabled
94-
from openedx.core.djangoapps.user_authn.utils import is_safe_login_or_logout_redirect
9587
from common.djangoapps.third_party_auth.utils import (
9688
get_associated_user_by_email_response,
9789
get_user_from_email,

lms/envs/common.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3281,17 +3281,6 @@ def _should_send_certificate_events(settings):
32813281

32823282
ENTITLEMENTS_EXPIRATION_ROUTING_KEY = Derived(lambda settings: settings.DEFAULT_PRIORITY_QUEUE)
32833283

3284-
########################## OpenEdX Filters #################################
3285-
3286-
OPEN_EDX_FILTERS_CONFIG = {
3287-
"org.openedx.learning.dashboard.render.started.v1": {
3288-
"fail_silently": True,
3289-
"pipeline": [
3290-
"enterprise.filters.dashboard.DashboardContextEnricher",
3291-
],
3292-
},
3293-
}
3294-
32953284
# TODO: We believe these were part of the DEPR'd sysadmin dashboard, and can likely be removed.
32963285
SSL_AUTH_EMAIL_DOMAIN = "MIT.EDU"
32973286
SSL_AUTH_DN_FORMAT_STRING = (

requirements/edx/development.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,6 @@ edx-drf-extensions==10.6.0
756756
# enterprise-integrated-channels
757757
# openedx-authz
758758
# openedx-core
759-
# openedx-learning
760759
edx-enterprise==8.0.3
761760
# via
762761
# -c requirements/constraints.txt

requirements/edx/testing.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,6 @@ edx-drf-extensions==10.6.0
589589
# enterprise-integrated-channels
590590
# openedx-authz
591591
# openedx-core
592-
# openedx-learning
593592
edx-enterprise==8.0.3
594593
# via
595594
# -c requirements/constraints.txt

0 commit comments

Comments
 (0)