init
This commit is contained in:
30 files changed
+1757
No files matched your search
@@ -0,0 +1,21 @@
|
||||
.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
|
||||
Reference in new issue
Block a user