Skip to content

Commit d2b6e86

Browse files
committed
Fix lint errors
1 parent 1685cbc commit d2b6e86

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/auth0_server_python/auth_server/server_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -900,8 +900,8 @@ async def backchannel_authentication(
900900

901901
async def initiate_backchannel_authentication(
902902
self,
903-
options: Dict[str, Any]
904-
) -> Dict[str, Any]:
903+
options: dict[str, Any]
904+
) -> dict[str, Any]:
905905
"""
906906
Start backchannel authentication with Auth0.
907907
@@ -1015,7 +1015,7 @@ async def initiate_backchannel_authentication(
10151015
e
10161016
)
10171017

1018-
async def backchannel_authentication_grant(self, auth_req_id: str) -> Dict[str, Any]:
1018+
async def backchannel_authentication_grant(self, auth_req_id: str) -> dict[str, Any]:
10191019
"""
10201020
Retrieves a token by exchanging an auth_req_id.
10211021

src/auth0_server_python/error/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def __init__(self, code: str, message: str, interval: int | None, cause=None):
5757

5858
class AccessTokenError(Auth0Error):
5959
"""Error raised when there's an issue with access tokens."""
60-
60+
6161
def __init__(self, code: str, message: str, cause=None):
6262
super().__init__(message)
6363
self.code = code

src/auth0_server_python/tests/test_server_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import json
2-
import pytest
32
import time
43
from unittest.mock import AsyncMock, MagicMock
54
from urllib.parse import parse_qs, urlparse

0 commit comments

Comments
 (0)