Skip to content

Commit

Permalink
fix: run fmt and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
oliamb committed Oct 4, 2023
1 parent 4d8e6fd commit 2ab2822
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 1 addition & 3 deletions oauthlib/oauth2/rfc8628/endpoints/device_authorization.py
Expand Up @@ -10,10 +10,8 @@

from oauthlib.common import Request, generate_token
from oauthlib.oauth2.rfc6749 import errors

from oauthlib.oauth2.rfc6749.endpoints.base import (
BaseEndpoint,
catch_errors_and_unavailability,
BaseEndpoint, catch_errors_and_unavailability,
)

log = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion oauthlib/openid/connect/core/endpoints/pre_configured.py
Expand Up @@ -17,7 +17,7 @@
from oauthlib.oauth2.rfc6749.tokens import BearerToken

from ..grant_types import (
AuthorizationCodeGrant, HybridGrant, ImplicitGrant, RefreshTokenGrant
AuthorizationCodeGrant, HybridGrant, ImplicitGrant, RefreshTokenGrant,
)
from ..grant_types.dispatchers import (
AuthorizationCodeGrantDispatcher, AuthorizationTokenGrantDispatcher,
Expand Down
4 changes: 2 additions & 2 deletions tests/oauth2/rfc8628/endpoints/test_error_responses.py
@@ -1,10 +1,10 @@
import json
from unittest import TestCase, mock

from oauthlib.common import Request, urlencode
from oauthlib.oauth2.rfc6749 import errors

from oauthlib.oauth2.rfc8628.request_validator import RequestValidator
from oauthlib.oauth2.rfc8628.pre_configured import DeviceApplicationServer
from oauthlib.oauth2.rfc8628.request_validator import RequestValidator


class ErrorResponseTest(TestCase):
Expand Down
1 change: 1 addition & 0 deletions tests/test_uri_validate.py
@@ -1,4 +1,5 @@
import unittest

from oauthlib.uri_validate import is_absolute_uri

from tests.unittest import TestCase
Expand Down

0 comments on commit 2ab2822

Please sign in to comment.