Skip to content

Commit d54c966

Browse files
committed
Fix lint
1 parent dec97c0 commit d54c966

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

auth0/asyncify.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import aiohttp
22

3+
from auth0.authentication.base import AuthenticationBase
34
from auth0.rest import RestClientOptions
45
from auth0.rest_async import AsyncRestClient
5-
from auth0.authentication.base import AuthenticationBase
66

77

88
def _gen_async(client, method):
@@ -67,7 +67,7 @@ def __init__(
6767

6868
class Wrapper(cls):
6969
def __init__(self, *args, **kwargs):
70-
super(Wrapper, self).__init__(*args, **kwargs)
70+
super().__init__(*args, **kwargs)
7171
if AuthenticationBase in cls.__bases__:
7272
self._async_client = AsyncAuthenticationClient(*args, **kwargs)
7373
else:

auth0/test_async/test_asyncify.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
from callee import Attrs
1313

1414
from auth0.asyncify import asyncify
15-
from auth0.management import Clients, Guardian, Jobs
1615
from auth0.authentication import GetToken
16+
from auth0.management import Clients, Guardian, Jobs
1717

1818
clients = re.compile(r"^https://example\.com/api/v2/clients.*")
1919
token = re.compile(r"^https://example\.com/oauth/token.*")
@@ -91,7 +91,6 @@ async def test_post_auth(self, mocked):
9191
callback, mock = get_callback()
9292
mocked.post(token, callback=callback)
9393
c = asyncify(GetToken)("example.com", "cid", client_secret="clsec")
94-
g = GetToken("my.domain.com", "cid", client_secret="clsec")
9594
self.assertEqual(
9695
await c.login_async(username="usrnm", password="pswd"), payload
9796
)

0 commit comments

Comments
 (0)