Fix CI: ruff format failure on migrate_sqlite_to_postgres.py #85
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-api#85
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plan
plan-2026-02-26-tf-modularize-postgres-- Phase 5 blockerRepo
forgejo_admin/pal-e-docsUser Story
As a developer merging PRs
I want CI to pass
So that merged code actually gets built and deployed
Context
CI has been broken since pipeline #111 (PR #82 merge). The
ruff format --check .step fails becausescripts/migrate_sqlite_to_postgres.pywas merged with formatting that doesn't pass ruff.This blocks Phase 5 deployment — PR #84 (tsvector search) is merged but the image hasn't been built or deployed.
Error:
Would reformat: scripts/migrate_sqlite_to_postgres.py — 1 file would be reformatted, 40 files already formattedFile Targets
scripts/migrate_sqlite_to_postgres.py— runruff formaton itAcceptance Criteria
ruff format --check .passesTest Expectations
ruff format --check .exits 0ruff check .exits 0PALDOCS_DATABASE_PATH=":memory:" python -m pytestpassesruff format --check . && ruff check .Constraints
Checklist
Related
pal-e-docsprojectbug-ci-ruff-format-migrate-scriptphase-postgres-5-fulltext-search)