@@ -9,56 +9,56 @@ containers:
99 docker compose build --build-arg UID=` id -u`
1010
1111dev :
12- poetry run uvicorn http_app:create_app --host 0.0.0.0 --port 8000 --factory --reload
12+ uv run uvicorn http_app:create_app --host 0.0.0.0 --port 8000 --factory --reload
1313
1414otel :
15- OTEL_SERVICE_NAME=bootstrap-fastapi OTEL_TRACES_EXPORTER=none OTEL_METRICS_EXPORTER=none OTEL_LOGS_EXPORTER=none poetry run opentelemetry-instrument uvicorn http_app:create_app --host 0.0.0.0 --port 8000 --factory
15+ OTEL_SERVICE_NAME=bootstrap-fastapi OTEL_TRACES_EXPORTER=none OTEL_METRICS_EXPORTER=none OTEL_LOGS_EXPORTER=none uv run opentelemetry-instrument uvicorn http_app:create_app --host 0.0.0.0 --port 8000 --factory
1616
1717run :
18- poetry run uvicorn http_app:create_app --host 0.0.0.0 --port 8000 --factory
18+ uv run uvicorn http_app:create_app --host 0.0.0.0 --port 8000 --factory
1919
2020test :
21- poetry run pytest -n auto --cov
21+ uv run pytest -n auto --cov
2222
2323ci-test :
24- poetry run pytest
24+ uv run pytest
2525
2626ci-coverage :
27- poetry run pytest --cov --cov-report lcov
27+ uv run pytest --cov --cov-report lcov
2828
2929typing :
30- poetry run mypy
30+ uv run mypy
3131
3232install-dependencies :
33- poetry install --no-root --with http
33+ uv sync --all-groups --no-dev --no-install-project
3434
3535dev-dependencies :
36- poetry install --with http,dev
36+ uv sync --all-groups
3737
3838update-dependencies :
39- poetry update --with http,dev
39+ uv lock --upgrade
4040
4141migrate :
42- poetry run alembic upgrade heads
42+ uv run alembic upgrade heads
4343
4444format :
45- poetry run ruff format --check .
45+ uv run ruff format --check .
4646
4747lint :
48- poetry run ruff check .
48+ uv run ruff check .
4949
5050fix :
51- poetry run ruff format .
52- poetry run ruff check . --fix
53- poetry run ruff format .
51+ uv run ruff format .
52+ uv run ruff check . --fix
53+ uv run ruff format .
5454
5555check : lint format typing test
5656
5757docs :
58- poetry run mkdocs serve
58+ uv run mkdocs serve
5959
6060adr :
6161 adr-viewer --serve --adr-path docs/adr
6262
6363docs-build :
64- poetry run mkdocs build
64+ uv run mkdocs build
0 commit comments