Skip to content

Commit c6488d6

Browse files
committed
fix: uv to install dev dependencies by default
1 parent 5441a04 commit c6488d6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Makefile

+7-7
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ install:
5757
uv venv --python 3.12
5858

5959
@echo "➡️ Syncing dependencies..."
60-
uv sync
60+
uv sync --extra dev
6161

6262
upgrade:
6363
@echo "➡️ Updating Git submodules..."
@@ -71,22 +71,22 @@ upgrade:
7171

7272
test:
7373
@echo "➡️ Test code smells (Ruff)..."
74-
ruff check --select I,PL,RUF,UP,ASYNC,A,DTZ,T20,ARG,PERF --ignore RUF012
74+
uv run ruff check --select I,PL,RUF,UP,ASYNC,A,DTZ,T20,ARG,PERF --ignore RUF012
7575

7676
@echo "➡️ Test types (Pyright)..."
77-
pyright .
77+
uv run pyright .
7878

7979
@echo "➡️ Unit tests (Pytest)..."
80-
PUBLIC_DOMAIN=dummy pytest \
80+
PUBLIC_DOMAIN=dummy uv run pytest \
8181
--junit-xml=test-reports/$(version_full).xml \
8282
tests/*.py
8383

8484
lint:
8585
@echo "➡️ Fix with formatter..."
86-
ruff format
86+
uv run ruff format
8787

8888
@echo "➡️ Lint with linter..."
89-
ruff check --select I,PL,RUF,UP,ASYNC,A,DTZ,T20,ARG,PERF --ignore RUF012 --fix
89+
uv run ruff check --select I,PL,RUF,UP,ASYNC,A,DTZ,T20,ARG,PERF --ignore RUF012 --fix
9090

9191
tunnel:
9292
@echo "➡️ Creating tunnel..."
@@ -99,7 +99,7 @@ tunnel:
9999
devtunnel host $(tunnel_name)
100100

101101
dev:
102-
VERSION=$(version_full) PUBLIC_DOMAIN=$(tunnel_url) gunicorn app.main:api \
102+
VERSION=$(version_full) PUBLIC_DOMAIN=$(tunnel_url) uv run gunicorn app.main:api \
103103
--access-logfile - \
104104
--bind 0.0.0.0:8080 \
105105
--proxy-protocol \

0 commit comments

Comments
 (0)