Skip to content

Commit a88e77f

Browse files
Includes uv in contribution guidelines.
1 parent a8606a2 commit a88e77f

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,15 @@ Some legacy [scripts](https://github.com/pythonanywhere/helper_scripts/blob/mast
7979

8080
Pull 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

0 commit comments

Comments
 (0)