- pyproject.toml: add [tool.ruff] config suppressing E402/W293 globally, F841/E741/E702 in tests, E741 in scripts - inventory.py: split semicolon import (E702) - recipes.py: fix logger -> log (F821 undefined name) - shopping.py: rename l -> lnk in list comprehension (E741) - format_conversion.py: noqa F841 on CUDA flag (used as future hook) - backfill_keywords.py: rename done -> _done (F841) - ingest_purplecarrot.py: drop == True comparison (E712) - Auto-fix: I001 import sorting, F401 unused imports across all files
6 lines
245 B
Python
6 lines
245 B
Python
# app/api/endpoints/corrections.py — user corrections to LLM output for SFT training
|
|
from circuitforge_core.api import make_corrections_router
|
|
|
|
from app.db.session import get_db
|
|
|
|
router = make_corrections_router(get_db=get_db, product="kiwi")
|