22 lines
372 B
Makefile
22 lines
372 B
Makefile
.PHONY: install lint test run compose-up benchmark
|
|
|
|
install:
|
|
python -m pip install -e '.[dev]'
|
|
|
|
lint:
|
|
ruff check .
|
|
ruff format --check .
|
|
mypy src
|
|
|
|
test:
|
|
pytest
|
|
|
|
run:
|
|
uvicorn warehouse_allocation.api:app --reload --port 8080
|
|
|
|
compose-up:
|
|
docker compose up --build
|
|
|
|
benchmark:
|
|
python scripts/benchmark.py --url http://localhost:8080 --requests 1000 --concurrency 25
|