@@ -12,34 +12,34 @@ test: test_unit test_integration
1212
1313# Specific test targets
1414test_unit :
15- python -m pytest tests/unit_tests/
15+ uv run python -m pytest tests/unit_tests/
1616
1717test_integration :
18- python -m pytest tests/integration_tests/
18+ uv run python -m pytest tests/integration_tests/
1919
2020test_e2e :
21- python -m pytest tests/e2e_tests/
21+ uv run python -m pytest tests/e2e_tests/
2222
2323test_all :
24- python -m pytest tests/
24+ uv run python -m pytest tests/
2525
2626# Watch mode for tests
2727test_watch : test_watch_unit
2828
2929test_watch_unit :
30- python -m ptw --snapshot-update --now . -- -vv tests/unit_tests
30+ uv run python -m ptw --snapshot-update --now . -- -vv tests/unit_tests
3131
3232test_watch_integration :
33- python -m ptw --snapshot-update --now . -- -vv tests/integration_tests
33+ uv run python -m ptw --snapshot-update --now . -- -vv tests/integration_tests
3434
3535test_watch_e2e :
36- python -m ptw --snapshot-update --now . -- -vv tests/e2e_tests
36+ uv run python -m ptw --snapshot-update --now . -- -vv tests/e2e_tests
3737
3838test_profile :
39- python -m pytest -vv tests/unit_tests/ --profile-svg
39+ uv run python -m pytest -vv tests/unit_tests/ --profile-svg
4040
4141extended_tests :
42- python -m pytest --only-extended tests/unit_tests/
42+ uv run python -m pytest --only-extended tests/unit_tests/
4343
4444# #####################
4545# DEVELOPMENT
@@ -66,33 +66,33 @@ lint_tests: PYTHON_FILES=tests
6666lint_tests : MYPY_CACHE=.mypy_cache_test
6767
6868lint :
69- python -m ruff check .
70- python -m ruff format src --diff
71- python -m ruff check --select I src
72- python -m mypy --strict src
73- mkdir -p .mypy_cache && python -m mypy --strict src --cache-dir .mypy_cache
69+ uv run python -m ruff check .
70+ uv run python -m ruff format src --diff
71+ uv run python -m ruff check --select I src
72+ uv run python -m mypy --strict src
73+ mkdir -p .mypy_cache && uv run python -m mypy --strict src --cache-dir .mypy_cache
7474
7575lint_diff lint_package :
76- python -m ruff check .
77- [ " $( PYTHON_FILES) " = " " ] || python -m ruff format $(PYTHON_FILES ) --diff
78- [ " $( PYTHON_FILES) " = " " ] || python -m ruff check --select I $(PYTHON_FILES )
79- [ " $( PYTHON_FILES) " = " " ] || python -m mypy --strict $(PYTHON_FILES )
80- [ " $( PYTHON_FILES) " = " " ] || mkdir -p $(MYPY_CACHE ) && python -m mypy --strict $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
76+ uv run python -m ruff check .
77+ [ " $( PYTHON_FILES) " = " " ] || uv run python -m ruff format $(PYTHON_FILES ) --diff
78+ [ " $( PYTHON_FILES) " = " " ] || uv run python -m ruff check --select I $(PYTHON_FILES )
79+ [ " $( PYTHON_FILES) " = " " ] || uv run python -m mypy --strict $(PYTHON_FILES )
80+ [ " $( PYTHON_FILES) " = " " ] || mkdir -p $(MYPY_CACHE ) && uv run python -m mypy --strict $(PYTHON_FILES ) --cache-dir $(MYPY_CACHE )
8181
8282lint_tests :
83- python -m ruff check tests --fix
84- python -m ruff format tests
83+ uv run python -m ruff check tests --fix
84+ uv run python -m ruff format tests
8585 # Skip mypy for tests to allow more flexible typing
8686
8787format format_diff :
88- ruff format $(PYTHON_FILES )
89- ruff check --select I --fix $(PYTHON_FILES )
88+ uv run ruff format $(PYTHON_FILES )
89+ uv run ruff check --select I --fix $(PYTHON_FILES )
9090
9191spell_check :
92- codespell --toml pyproject.toml
92+ uv run codespell --toml pyproject.toml
9393
9494spell_fix :
95- codespell --toml pyproject.toml -w
95+ uv run codespell --toml pyproject.toml -w
9696
9797# #####################
9898# HELP
0 commit comments