diff --git a/abandonauth/dependencies/auth/jwt.py b/abandonauth/dependencies/auth/jwt.py index 9adf08d..f9acade 100644 --- a/abandonauth/dependencies/auth/jwt.py +++ b/abandonauth/dependencies/auth/jwt.py @@ -70,7 +70,7 @@ def decode_jwt( token_data = jwt.decode( token, settings.JWT_SECRET.get_secret_value(), - **decode_kwargs + **decode_kwargs # pyright: ignore ) except JWTError: raise HTTPException( @@ -123,7 +123,7 @@ def __init__( self.aud = aud self.required_scope = scope - async def __call__(self, request: Request) -> JwtClaimsDataDto: + async def __call__(self, request: Request) -> JwtClaimsDataDto: # pyright: ignore """ Retrieve user from a jwt token provided in headers. diff --git a/abandonauth/settings.py b/abandonauth/settings.py index aa5bcd2..40e2d99 100644 --- a/abandonauth/settings.py +++ b/abandonauth/settings.py @@ -26,7 +26,7 @@ class Settings(BaseSettings): GOOGLE_CLIENT_SECRET: pydantic.SecretStr GOOGLE_CALLBACK: str - class Config: + class Config: # pyright: ignore frozen = True env_file = '.env' env_file_encoding = 'utf-8'