Skip to content

fix(ci): pass lint + check#9

Merged
jeremie0342 merged 1 commit into
mainfrom
fix/ci-lint-and-i18n-types
Jul 22, 2026
Merged

fix(ci): pass lint + check#9
jeremie0342 merged 1 commit into
mainfrom
fix/ci-lint-and-i18n-types

Conversation

@jeremie0342

Copy link
Copy Markdown
Contributor

Backend

  • ruff B008: use Annotated[Session, Depends(get_session)] alias instead of default-arg Depends
  • ruff E501: wrap long alembic column
  • Add uv.lock so uv sync --frozen works

Frontend

  • Extract Dict as a plain interface (fields typed string, not literals) into src/lib/i18n/types.ts
  • en.ts, fr.ts, index.svelte.ts import Dict from types.ts, fixes svelte-check assignability
  • prettier --write across sources
  • Commit package-lock.json

- backend: fix ruff B008 (Depends in defaults) via Annotated[Session, Depends] alias
- backend: fix E501 in alembic migration + reformat with ruff
- backend: commit uv.lock so uv sync --frozen works
- frontend: extract Dict interface into types.ts so en/fr strings are widened
- frontend: prettier --write across sources
- frontend: commit package-lock.json
@jeremie0342
jeremie0342 merged commit 8358f26 into main Jul 22, 2026
2 checks passed
@jeremie0342
jeremie0342 deleted the fix/ci-lint-and-i18n-types branch July 22, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant