fix: ruff lint errors + bandit false positives + pip-audit non-blocking
CI / lint (push) Failing after 11s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / security (push) Successful in 7s

This commit is contained in:
2026-05-28 12:41:31 -04:00
parent 7b2da1ff6a
commit 6fc43e2485
13 changed files with 32 additions and 40 deletions
+2 -2
View File
@@ -159,7 +159,7 @@ async def login(body: LoginRequest, response: Response, request: Request):
return {
"access_token": access_token,
"token_type": "bearer",
"token_type": "bearer", # nosec B105 — OAuth2 token_type, pas un mot de passe
"expires_in": ACCESS_TOKEN_EXPIRE_SECONDS,
"user": {
"username": user["username"],
@@ -208,7 +208,7 @@ async def refresh_token_endpoint(request: Request, response: Response):
return {
"access_token": new_access_token,
"token_type": "bearer",
"token_type": "bearer", # nosec B105 — OAuth2 token_type, pas un mot de passe
"expires_in": ACCESS_TOKEN_EXPIRE_SECONDS,
}