fix(backend): corrige formatage ruff et typage mypy sur sites/current
CI en échec sur ruff format (ligne trop longue) et mypy (retour Any non annoté, assignation Literal non étroite). Corrige sans changer le comportement.
This commit is contained in:
@@ -27,4 +27,5 @@ class ReadingRepository:
|
||||
.order_by(Reading.timestamp.desc())
|
||||
.limit(1)
|
||||
)
|
||||
return await self._session.scalar(requete)
|
||||
lecture: Reading | None = await self._session.scalar(requete)
|
||||
return lecture
|
||||
|
||||
Reference in New Issue
Block a user