Skip to content

Commit 4f0458c

Browse files
committed
Format with black and apply isort
1 parent 7b0b6f2 commit 4f0458c

46 files changed

Lines changed: 10 additions & 53 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

auth0/exceptions.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ def __str__(self):
1111

1212
class RateLimitError(Auth0Error):
1313
def __init__(self, error_code, message, reset_at):
14-
super().__init__(
15-
status_code=429, error_code=error_code, message=message
16-
)
14+
super().__init__(status_code=429, error_code=error_code, message=message)
1715
self.reset_at = reset_at
1816

1917

auth0/rest.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,7 @@ def _error_message(self):
286286
class JsonResponse(Response):
287287
def __init__(self, response):
288288
content = json.loads(response.text)
289-
super().__init__(
290-
response.status_code, content, response.headers
291-
)
289+
super().__init__(response.status_code, content, response.headers)
292290

293291
def _error_code(self):
294292
if "errorCode" in self._content:
@@ -311,9 +309,7 @@ def _error_message(self):
311309

312310
class PlainResponse(Response):
313311
def __init__(self, response):
314-
super().__init__(
315-
response.status_code, response.text, response.headers
316-
)
312+
super().__init__(response.status_code, response.text, response.headers)
317313

318314
def _error_code(self):
319315
return UNKNOWN_ERROR

auth0/test/authentication/test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import json
33
import sys
44
import unittest
5-
65
from unittest import mock
6+
77
import requests
88

99
from ...authentication.base import AuthenticationBase

auth0/test/authentication/test_database.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import unittest
2-
32
from unittest import mock
43

54
from ...authentication.database import Database

auth0/test/authentication/test_delegated.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import unittest
2-
32
from unittest import mock
43

54
from ...authentication.delegated import Delegated

auth0/test/authentication/test_enterprise.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import unittest
2-
32
from unittest import mock
43

54
from ...authentication.enterprise import Enterprise

auth0/test/authentication/test_get_token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import unittest
2-
32
from unittest import mock
3+
44
from callee.strings import Glob
55
from cryptography.hazmat.primitives import asymmetric, serialization
66

auth0/test/authentication/test_passwordless.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import unittest
2-
32
from unittest import mock
43

54
from ...authentication.passwordless import Passwordless

auth0/test/authentication/test_revoke_token.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import unittest
2-
32
from unittest import mock
43

54
from ...authentication.revoke_token import RevokeToken

auth0/test/authentication/test_social.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import unittest
2-
32
from unittest import mock
43

54
from ...authentication.social import Social

0 commit comments

Comments
 (0)