Improve lint tooling

This commit is contained in:
François Voron
2019-10-09 07:44:28 +02:00
parent 96685c7696
commit 11a6c60708
4 changed files with 43 additions and 2 deletions

View File

@ -10,7 +10,7 @@ from starlette.responses import Response
from fastapi_users.authentication import BaseAuthentication
from fastapi_users.models import UserDB
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/login")
oauth2_scheme = OAuth2PasswordBearer(tokenUrl='/login')
def generate_jwt(data: dict, lifetime_seconds: int, secret: str, algorithm: str) -> str: