Unverified Commit 05b9e8ab authored by Michael Goin's avatar Michael Goin Committed by GitHub
Browse files

Revise environment setup in AGENTS.md (#36909)


Signed-off-by: default avatarMichael Goin <mgoin64@gmail.com>
Signed-off-by: default avatarHarry Mellor <19981378+hmellor@users.noreply.github.com>
Co-authored-by: default avatarHarry Mellor <19981378+hmellor@users.noreply.github.com>
parent 2cdf9222
......@@ -46,11 +46,11 @@ If work is duplicate/trivial busywork, **do not proceed**. Return a short explan
curl -LsSf https://astral.sh/uv/install.sh | sh
# Always use `uv` for Python environment management:
uv venv
uv venv --python 3.12
source .venv/bin/activate
# Always make sure `pre-commit` and its hooks are installed:
uv pip install pre-commit
uv pip install -r requirements/lint.txt
pre-commit install
```
......@@ -71,11 +71,10 @@ All versions for test dependencies should be read from `requirements/test.txt`
```bash
# Install bare minimum test dependencies:
uv pip install pytest==<requirements/test.txt version>
uv pip install tblib==<requirements/test.txt version>
uv pip install pytest pytest-asyncio tblib
# Install additional required dependencies from `requirements/test.txt` as needed:
uv pip install <requirements/test.txt dependency>==<requirements/test.txt version>
# Install additional test dependencies as needed, or install them all as follows:
uv pip install -r requirements/test.txt
# Run specific test from specific test file
pytest tests/path/to/test.py -v -s -k test_name
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment