The "class size" item from the quality checklist, measured: - A shipped file over 800 lines may not grow past its line count today (13 frontend, 11 backend). No other file may cross 800. - A function over the complexity limit may not rise, and no new one may appear. The limit is eslint `complexity` 20 on the frontend (64 functions over it today) and ruff C901 10 on the backend (32). - Each is a per-file ceiling. Shrinking is free; an entry back under the limit must be deleted, so the lists only shrink. C901 is measured in a test rather than switched on in ruff.toml: ruff has no per-function baseline, and a noqa would let a function grow without limit. Coverage (owner decision D4) is printed with no threshold: `vitest --coverage` (v8) gives 80% of lines, and the pytest lane ends with the total for app/, 78%. The bar stays "every regression test seen red". .coverage is ignored by git and kept out of the image's build context.
45 lines
900 B
Plaintext
45 lines
900 B
Plaintext
# Secrets / local config
|
|
.env
|
|
*.env.local
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
.venv/
|
|
venv/
|
|
.mypy_cache/
|
|
.pytest_cache/
|
|
.coverage
|
|
.ruff_cache/
|
|
|
|
# Node / frontend
|
|
node_modules/
|
|
frontend/dist/
|
|
*.log
|
|
|
|
# Playwright E2E (browsers install globally; these are per-run artifacts + the auth state)
|
|
frontend/test-results/
|
|
frontend/playwright-report/
|
|
frontend/blob-report/
|
|
frontend/playwright/.cache/
|
|
frontend/e2e/.auth/
|
|
|
|
# Data / dumps
|
|
*.dump
|
|
*.sql.gz
|
|
backups/
|
|
|
|
# Download center: locally downloaded media (the DOWNLOAD_ROOT bind mount at the repo root).
|
|
# Anchored with a leading slash so it does NOT also ignore the backend/app/downloads package.
|
|
/downloads/
|
|
|
|
# OS / editor
|
|
.DS_Store
|
|
Thumbs.db
|
|
.idea/
|
|
.vscode/
|
|
|
|
# TypeScript incremental build artifacts — machine-local, absolute-path-bearing, and no gate lane
|
|
# reads or regenerates them, so a committed one is stale from the commit that adds it.
|
|
*.tsbuildinfo
|