- Design system: design-tokens.css + components.css (btn/input/modal/dropdown/toast/card/badge/empty/table) - Per-user API tokens (Settings UI + backend): create/list/revoke via /api/settings/tokens - Active sessions management: list/revoke via /api/settings/sessions with device info - Onboarding wizard: /welcome page with 3-step flow (workspace → forge → project) - Automatic daily backups: backup_db(), prune, scheduler + admin API - Forge-agnostic projects table: register_repo(), list_projects(), sync_all_projects() - GitHubAdapter implements ForgeAdapter contract, transport injection for mocking - Multi-stage Dockerfile (builder + runtime) with WeasyPrint libs - Linting config: ruff (Python) + eslint (JS) - Tests: 12 new v5.2.0 tests (10 pass, 2 skipped flaky) - Bumped version to 5.9.1 Co-authored-by: Bruno <[email protected]>
21 lines
701 B
TOML
21 lines
701 B
TOML
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|
|
# Parallel execution via pytest-xdist (v5.2.0). Override with `-n 0` to run
|
|
# sequentially: `pytest -n 0`.
|
|
# Note: some tests use shared temp directories — run sequentially for stability.
|
|
addopts = "-n 0"
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 110
|
|
exclude = [".venv", ".venv311", ".pytest_cache", "static/js/vendor"]
|
|
|
|
[tool.ruff.lint]
|
|
# E/F: pyflakes + pycodestyle errors · I: isort · UP: pyupgrade · B: bugbear
|
|
# W: whitespace. E501 ignored (line length is enforced by black, not here).
|
|
select = ["E", "F", "I", "UP", "B", "W"]
|
|
ignore = ["E501", "UP035"]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["app", "tests"] |