chore: removed 'wrong-import-order' from disabled imports (#29365)

* chore: removed 'wrong-import-order' from disabled imports
This commit is contained in:
Jawayria
2022-01-06 19:14:51 +05:00
committed by GitHub
parent b5f045dc5f
commit 7f5b4a6a47
18 changed files with 50 additions and 49 deletions

View File

@@ -5,8 +5,8 @@ URL definitions for the course_modes v1 API.
from django.conf import settings
from common.djangoapps.course_modes.rest_api.v1 import views
from django.urls import re_path
from common.djangoapps.course_modes.rest_api.v1 import views
app_name = 'v1'

View File

@@ -3,8 +3,8 @@
from django.conf import settings
from common.djangoapps.course_modes import views
from django.urls import re_path
from common.djangoapps.course_modes import views
urlpatterns = [
re_path(fr'^choose/{settings.COURSE_ID_PATTERN}/$', views.ChooseModeView.as_view(), name='course_modes_choose'),

View File

@@ -5,8 +5,8 @@ URLs for the V1 of the Entitlements API.
from django.conf.urls import include
from rest_framework.routers import DefaultRouter
from .views import EntitlementEnrollmentViewSet, EntitlementViewSet
from django.urls import path, re_path
from .views import EntitlementEnrollmentViewSet, EntitlementViewSet
router = DefaultRouter()
router.register(r'entitlements', EntitlementViewSet, basename='entitlements')

View File

@@ -4,9 +4,9 @@ URLs for student app
from django.conf import settings
from django.urls import path, re_path
from . import views
from django.urls import path, re_path
urlpatterns = [

View File

@@ -2,9 +2,9 @@
from django.conf import settings
from django.urls import path, re_path
from .views import ThirdPartyAuthUserStatusView, UserMappingView, UserView, UserViewV2
from django.urls import path, re_path
PROVIDER_PATTERN = r'(?P<provider_id>[\w.+-]+)(?:\:(?P<idp_slug>[\w.+-]+))?'

View File

@@ -1,6 +1,7 @@
"""Url configuration for the auth module."""
from django.conf.urls import include
from django.urls import path, re_path
from .views import (
IdPRedirectView,
@@ -9,7 +10,6 @@ from .views import (
post_to_custom_auth_form,
saml_metadata_view
)
from django.urls import path, re_path
urlpatterns = [
path('auth/inactive', inactive_user_view, name="third_party_inactive_redirect"),

View File

@@ -1,10 +1,10 @@
"""
URLs for track app
"""
from django.urls import path
from . import views
from .views import segmentio
from django.urls import path
urlpatterns = [
path('event', views.user_track),