Skip to content

Commit 6696fb6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 79e327f commit 6696fb6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

oauth2_provider/compat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Django 5.1 introduced LoginRequiredMiddleware, and login_not_required decorator
88
from django.contrib.auth.decorators import login_not_required
99
except ImportError:
10+
1011
def login_not_required(view_func):
1112
return view_func
1213

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ def oidc_non_confidential_tokens(oauth2_settings, public_application, test_user,
296296
"http://other.org",
297297
)
298298

299+
299300
@pytest.fixture(autouse=True)
300301
def django_login_required_middleware(settings):
301302
# Django 5.1 introduced LoginRequiredMiddleware

0 commit comments

Comments
 (0)