Backend: - Drop unused imports/locals and zero-reference helpers (truncate_ip, in_split, GEMINI_PROMPT_TEMPLATE, legacy subtitles SRT path, dead paths) - Remove unwired features (delete_uploaded, mark_ai_generated, unmark_job, compact_words, restoring_static restorer hook, gemini_worker __main__) - Remove shelved panel_layout module + its flags/tests - Remove the /api/render proxy + RENDER_SERVICE_URL Frontend: - Delete App.css, react.svg, vite.svg, agent screenshot, demo mp4s - Remove dead exports (downloadBlobUrl, consent reopen machinery, dead zod schemas/CITED_STATS) and unused deps (@remotion/media-utils, zod) - Drop the /render dev proxy; rewrite dashboard README Repo/config: - Delete render-service/ and top-level remotion/ (superseded by the dashboard's in-browser Remotion copy); drop the compose renderer service - Delete docker-compose.e2e.local.yml and 4 unreferenced screenshots - Prune .env.example dead keys, add GEMINI_API_KEY/MAX_CONCURRENT_JOBS - Tighten .dockerignore/.gitignore; add dashboard lint to CI - Fix stale compliance doc + README structure Backend 709 passed / 18 skipped; dashboard lint+build green; compose valid.
28 lines
919 B
TOML
28 lines
919 B
TOML
# The backend is not packaged or published: it runs from a bind-mounted source
|
|
# tree (docker-compose.yml) and `requirements.txt` is the single runtime
|
|
# dependency source for the Docker image. This file therefore carries tool
|
|
# configuration only — no [build-system] and no [project] table — which also
|
|
# avoids colliding with the published `clipwright` CLI distribution under
|
|
# `cli/`.
|
|
|
|
[tool.pytest.ini_options]
|
|
minversion = "7.0"
|
|
testpaths = ["tests"]
|
|
# Makes the repo-root `clipwright/` package importable without a sys.path hack
|
|
# in tests/conftest.py.
|
|
pythonpath = ["."]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
extend-exclude = [
|
|
"dashboard",
|
|
"cli",
|
|
"output",
|
|
"uploads",
|
|
]
|
|
|
|
[tool.ruff.lint]
|
|
# Correctness only for now: keep this migration reviewable. Style/import rules
|
|
# can be ratcheted later without conflicting with the structural change.
|
|
select = ["E4", "E7", "E9", "F"]
|