Skip to content

Commit 5a0f060

Browse files
pre-commit-ci[bot]nijel
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2fb3045 commit 5a0f060

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

social_core/backends/email.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# noqa: A005
21
"""
32
Legacy Email backend, docs at:
43
https://python-social-auth.readthedocs.io/en/latest/backends/email.html

social_core/tests/models.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import base64
55
from typing import TypeVar
66

7+
from typing_extensions import Self
8+
79
from ..storage import (
810
AssociationMixin,
911
BaseStorage,
@@ -23,7 +25,7 @@ def next_id(cls):
2325
return cls.NEXT_ID - 1
2426

2527
@classmethod
26-
def get(cls: type[ModelT], key) -> ModelT | None:
28+
def get(cls, key) -> Self | None:
2729
return cls.cache.get(key)
2830

2931
@classmethod

0 commit comments

Comments
 (0)