scholarr/scripts
Justin Visser bf04c77aa9 ci: add ruff linting and mypy type checking
Add ruff and mypy to dev dependencies with configuration in pyproject.toml.
Add a lint CI job that runs ruff check, ruff format --check, and mypy.
Auto-fix import sorting and formatting across the codebase. Exclude
alembic/versions from linting (auto-generated migrations). Ignore B008
(FastAPI Depends pattern) and RUF001 (unicode in user-facing strings).

21 ruff lint errors and 50 mypy errors remain for manual review.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 22:11:41 +01:00
..
db Big changes 2026-02-21 17:33:05 +01:00
bootstrap_admin.py First product 2026-02-17 14:51:25 +01:00
check_env_contract.py Big changes 2026-02-21 17:33:05 +01:00
check_frontend_api_contract.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
check_no_generated_artifacts.sh streamlined 2026-02-17 21:59:41 +01:00
entrypoint.sh First product 2026-02-17 14:51:25 +01:00
smoke_compose.sh test 2026-02-17 20:24:12 +01:00
wait_for_db.py First product 2026-02-17 14:51:25 +01:00