Skip to content

Commit dc094aa

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3139d25 commit dc094aa

Some content is hidden

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

44 files changed

+0
-44
lines changed

docs/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import oauth2_provider
1818

19-
2019
# If extensions (or modules to document with autodoc) are in another directory,
2120
# add these directories to sys.path here. If the directory is relative to the
2221
# documentation root, use os.path.abspath to make it absolute, like shown here.

docs/rfc.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
from docutils import nodes
66

7-
87
base_url = "https://rfc-editor.org/rfc/rfc6749.html"
98

109

oauth2_provider/admin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
get_refresh_token_model,
1515
)
1616

17-
1817
has_email = hasattr(get_user_model(), "email")
1918

2019

oauth2_provider/backends.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
from .oauth2_backends import get_oauthlib_core
55

6-
76
UserModel = get_user_model()
87
OAuthLibCore = get_oauthlib_core()
98

oauth2_provider/contrib/rest_framework/permissions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from ...settings import oauth2_settings
88
from .authentication import OAuth2Authentication
99

10-
1110
log = logging.getLogger("oauth2_provider")
1211

1312

oauth2_provider/management/commands/createapplication.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
from oauth2_provider.models import get_application_model
55

6-
76
Application = get_application_model()
87

98

oauth2_provider/middleware.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
from oauth2_provider.models import get_access_token_model
88

9-
109
log = logging.getLogger(__name__)
1110

1211

oauth2_provider/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from .utils import jwk_from_pem
2424
from .validators import AllowedURIValidator
2525

26-
2726
logger = logging.getLogger(__name__)
2827

2928

oauth2_provider/oauth2_validators.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
from .settings import oauth2_settings
4141
from .utils import get_timezone
4242

43-
4443
log = logging.getLogger("oauth2_provider")
4544

4645
GRANT_TYPE_MAPPING = {

oauth2_provider/settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
from django.utils.module_loading import import_string
2525
from oauthlib.common import Request
2626

27-
2827
USER_SETTINGS = getattr(settings, "OAUTH2_PROVIDER", None)
2928

3029
APPLICATION_MODEL = getattr(settings, "OAUTH2_PROVIDER_APPLICATION_MODEL", "oauth2_provider.Application")

0 commit comments

Comments
 (0)