File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11# !/usr/bin/make -f
22
3+ VENV_PATH = .venv/bin
4+
35install-dev-requirements :
46 curl -LsSf https://astral.sh/uv/install.sh | sh
57 uv venv && uv pip install hatch
@@ -25,18 +27,18 @@ develop: install-dev-requirements install-test-requirements
2527
2628types :
2729 @echo " Type checking Python files"
28- .venv/bin /mypy --pretty
30+ $( VENV_PATH ) /mypy --pretty
2931 @echo " "
3032
3133test : types
3234 @echo " Running Python tests"
3335 uv pip uninstall pook || true
34- .venv/bin/ wait-for-it --service httpbin.local:443 --service localhost:6379 --timeout 5 -- .venv/bin /pytest
35- uv pip install pook && .venv/bin /pytest tests/test_pook.py && uv pip uninstall pook
36+ $( VENV_PATH ) / wait-for-it --service httpbin.local:443 --service localhost:6379 --timeout 5 -- $( VENV_PATH ) /pytest
37+ uv pip install pook && $( VENV_PATH ) /pytest tests/test_pook.py && uv pip uninstall pook
3638 @echo " "
3739
3840safetest :
39- export SKIP_TRUE_REDIS=1; export SKIP_TRUE_HTTP=1; .venv/bin /pytest
41+ export SKIP_TRUE_REDIS=1; export SKIP_TRUE_HTTP=1; $( VENV_PATH ) /pytest
4042
4143publish : clean install-test-requirements
4244 uv run python3 -m build --sdist --wheel .
You can’t perform that action at this time.
0 commit comments