[lint] more linting changes

This commit is contained in:
2026-07-29 03:30:54 +02:00
parent 3f20cdeed9
commit 7a70b6b1d4
6 changed files with 28 additions and 14 deletions

View File

@@ -69,7 +69,7 @@ def del_card(
logger.info(f"The key:'{key}' was not found in db!")
raise HTTPException(
status.HTTP_500_INTERNAL_SERVER_ERROR,
detail="Key on card not found in DB. Please tell an admin about this. KEY={key}",
detail="Key on card not found in DB. Please tell an admin about this. KEY={key}", # noqa: E501
)
db.delete(card)
db.commit()