Skip to content

Commit af388c0

Browse files
committed
Sort imports isort for flake8 lint check
1 parent c93d677 commit af388c0

File tree

6 files changed

+7
-16
lines changed

6 files changed

+7
-16
lines changed

oauth2_provider/oauth2_validators.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,8 @@
2727

2828
from .exceptions import FatalClientError
2929
from .models import (
30-
AbstractApplication,
31-
get_access_token_model,
32-
get_id_token_model,
33-
get_application_model,
34-
get_grant_model,
35-
get_refresh_token_model,
30+
AbstractApplication, get_access_token_model, get_application_model,
31+
get_grant_model, get_id_token_model, get_refresh_token_model
3632
)
3733
from .scopes import get_scopes_backend
3834
from .settings import oauth2_settings

oauth2_provider/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
oidc_urlpatterns = [
3131
re_path(r"^\.well-known/openid-configuration/$", views.ConnectDiscoveryInfoView.as_view(),
32-
name="oidc-connect-discovery-info"),
32+
name="oidc-connect-discovery-info"),
3333
re_path(r"^jwks/$", views.JwksInfoView.as_view(), name="jwks-info"),
3434
re_path(r"^userinfo/$", views.UserInfoView.as_view(), name="user-info")
3535
]

tests/test_authorization_code.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@
1313
from oauthlib.oauth2.rfc6749 import errors as oauthlib_errors
1414

1515
from oauth2_provider.models import (
16-
get_access_token_model,
17-
get_application_model,
18-
get_grant_model,
19-
get_refresh_token_model,
16+
get_access_token_model, get_application_model,
17+
get_grant_model, get_refresh_token_model
2018
)
2119
from oauth2_provider.settings import oauth2_settings
2220
from oauth2_provider.views import ProtectedResourceView

tests/test_implicit.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
from urllib.parse import parse_qs, urlparse
2-
31
import json
2+
from urllib.parse import parse_qs, urlparse
43

54
from django.contrib.auth import get_user_model
65
from django.test import RequestFactory, TestCase
76
from django.urls import reverse
8-
97
from jwcrypto import jwk, jwt
108

119
from oauth2_provider.models import get_application_model

tests/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from django.urls import include, re_path
21
from django.contrib import admin
2+
from django.urls import include, re_path
33

44

55
admin.autodiscover()

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ deps =
3535
pytest-xdist
3636
py27: mock
3737
requests
38-
jwcrypto
3938

4039
[testenv:py37-docs]
4140
basepython = python

0 commit comments

Comments
 (0)