Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 4, 2023
1 parent b709380 commit 4f86fd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rest_framework_simplejwt/tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
if TYPE_CHECKING:
from .backends import TokenBackend

T = TypeVar('T', bound='Token')
T = TypeVar("T", bound="Token")

AuthUser = TypeVar("AuthUser", AbstractBaseUser, TokenUser)

Expand Down Expand Up @@ -298,7 +298,7 @@ def for_user(cls: Type[T], user: AuthUser) -> T:
return token


class SlidingToken(BlacklistMixin['SlidingToken'], Token):
class SlidingToken(BlacklistMixin["SlidingToken"], Token):
token_type = "sliding"
lifetime = api_settings.SLIDING_TOKEN_LIFETIME

Expand All @@ -319,7 +319,7 @@ class AccessToken(Token):
lifetime = api_settings.ACCESS_TOKEN_LIFETIME


class RefreshToken(BlacklistMixin['RefreshToken'], Token):
class RefreshToken(BlacklistMixin["RefreshToken"], Token):
token_type = "refresh"
lifetime = api_settings.REFRESH_TOKEN_LIFETIME
no_copy_claims = (
Expand Down

0 comments on commit 4f86fd6

Please sign in to comment.