feat: implement robust personnel data extraction pipeline with text-based fallback and coordinate-aware processing
This commit is contained in:
13
Makefile
13
Makefile
@@ -1,9 +1,10 @@
|
||||
.PHONY: help install dev fmt lint typecheck test test-cov run docker-build docker-up docker-down clean
|
||||
.PHONY: help install dev update fmt lint typecheck test test-cov run docker-build docker-up docker-down clean
|
||||
|
||||
help:
|
||||
@echo "Targets:"
|
||||
@echo " install - install runtime + dev deps in current env"
|
||||
@echo " dev - run FastAPI app with autoreload"
|
||||
@echo " update - git pull + install deps + migrate db + run dev server"
|
||||
@echo " fmt - format code with ruff"
|
||||
@echo " lint - lint with ruff"
|
||||
@echo " typecheck - run mypy"
|
||||
@@ -21,6 +22,16 @@ install:
|
||||
dev:
|
||||
uvicorn ocr_sprint.main:app --reload --host 0.0.0.0 --port 8000
|
||||
|
||||
update:
|
||||
@echo "[1/4] Pulling latest code..."
|
||||
git pull
|
||||
@echo "[2/4] Installing/updating dependencies..."
|
||||
pip install -e ".[dev]"
|
||||
@echo "[3/4] Running database migrations..."
|
||||
alembic upgrade head
|
||||
@echo "[4/4] Starting dev server..."
|
||||
uvicorn ocr_sprint.main:app --reload --host 0.0.0.0 --port 8000
|
||||
|
||||
fmt:
|
||||
ruff format src tests
|
||||
ruff check --fix src tests
|
||||
|
||||
Reference in New Issue
Block a user