Commit 87f1dec 1 parent 895e299 commit 87f1dec Copy full SHA for 87f1dec
File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
# !/usr/bin/make -f
2
2
3
+ VENV_PATH = .venv/bin
4
+
3
5
install-dev-requirements :
4
6
curl -LsSf https://astral.sh/uv/install.sh | sh
5
7
uv venv && uv pip install hatch
@@ -25,18 +27,18 @@ develop: install-dev-requirements install-test-requirements
25
27
26
28
types :
27
29
@echo " Type checking Python files"
28
- .venv/bin /mypy --pretty
30
+ $( VENV_PATH ) /mypy --pretty
29
31
@echo " "
30
32
31
33
test : types
32
34
@echo " Running Python tests"
33
35
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
36
38
@echo " "
37
39
38
40
safetest :
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
40
42
41
43
publish : clean install-test-requirements
42
44
uv run python3 -m build --sdist --wheel .
You can’t perform that action at this time.
0 commit comments