@@ -57,7 +57,7 @@ install:
57
57
uv venv --python 3.12
58
58
59
59
@echo "➡️ Syncing dependencies..."
60
- uv sync
60
+ uv sync --extra dev
61
61
62
62
upgrade :
63
63
@echo " ➡️ Updating Git submodules..."
@@ -71,22 +71,22 @@ upgrade:
71
71
72
72
test :
73
73
@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
75
75
76
76
@echo "➡️ Test types (Pyright)..."
77
- pyright .
77
+ uv run pyright .
78
78
79
79
@echo "➡️ Unit tests (Pytest)..."
80
- PUBLIC_DOMAIN=dummy pytest \
80
+ PUBLIC_DOMAIN=dummy uv run pytest \
81
81
--junit-xml=test-reports/$(version_full).xml \
82
82
tests/*.py
83
83
84
84
lint :
85
85
@echo " ➡️ Fix with formatter..."
86
- ruff format
86
+ uv run ruff format
87
87
88
88
@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
90
90
91
91
tunnel :
92
92
@echo " ➡️ Creating tunnel..."
@@ -99,7 +99,7 @@ tunnel:
99
99
devtunnel host $(tunnel_name)
100
100
101
101
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 \
103
103
--access-logfile - \
104
104
--bind 0.0.0.0:8080 \
105
105
--proxy-protocol \
0 commit comments