File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,17 +79,15 @@ Some legacy [scripts](https://github.com/pythonanywhere/helper_scripts/blob/mast
7979
8080Pull requests are welcome! You'll find tests in the [ tests] ( https://github.com/pythonanywhere/helper_scripts/blob/master/tests ) folder...
8181
82- # prep your dev environment
83- mkvirtualenv --python=python3.10 helper_scripts
84- pip install -r requirements.txt
85- pip install -e .
82+ # prep your dev environment (requires [uv](https://docs.astral.sh/uv/))
83+ uv sync --extra test
8684
8785 # running the tests:
88- pytest
86+ uv run pytest
8987
9088 # make sure that the code that you have written is well tested:
91- pytest --cov=pythonanywhere --cov=scripts
89+ uv run pytest --cov=pythonanywhere --cov=scripts
9290
9391 # to just run the fast tests:
94- pytest -m 'not slowtest' -v
92+ uv run pytest -m 'not slowtest' -v
9593
You can’t perform that action at this time.
0 commit comments