Badges : corrections de lint (E501) et couverture du smoke test

Lignes trop longues détectées par ruff (badges.py, tests) ; ajout de
/badges au smoke test frontend (rendu SSR de chaque écran protégé).

Vérifié dans ce commit : pytest (248 passés), ruff check, alembic
check, tsc --noEmit, eslint, vite build, smoke — tous verts.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
AdamThomas
2026-09-20 20:37:24 +02:00
co-authored by Claude Sonnet 5
parent 579ea5d9db
commit bc165757ca
4 changed files with 21 additions and 6 deletions
+4 -1
View File
@@ -23,7 +23,10 @@ def _position(**kw) -> Position:
def _shift(start: dt.datetime, end: dt.datetime) -> Shift:
return Shift(id=uuid.uuid4(), edition_id=uuid.uuid4(), position_id=uuid.uuid4(), starts_at=start, ends_at=end)
return Shift(
id=uuid.uuid4(), edition_id=uuid.uuid4(), position_id=uuid.uuid4(),
starts_at=start, ends_at=end,
)
def test_position_line_shows_the_schedule():