diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 70dab5625f..ef0a6054d8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -177,7 +177,7 @@ part before or alongside your code PR. 5. **Run unit tests:** ```shell - pytest ./tests/unittests + uv run pytest ./tests/unittests ``` NOTE: for accurate repro of test failure, only include `test`, `eval` and @@ -185,7 +185,7 @@ part before or alongside your code PR. ```shell uv sync --extra test --extra eval --extra a2a - pytest ./tests/unittests + uv run pytest ./tests/unittests ``` **Alternatively**, use the included `unittests.sh` script which handles @@ -202,10 +202,10 @@ part before or alongside your code PR. 6. **Auto-format the code:** - **NOTE**: We use `isort` and `pyink` for styles. Use the included - autoformat.sh to auto-format. + **NOTE**: We use `isort` and `pyink` for styles. The command below installs these tools. ```shell + uv sync --extra dev ./autoformat.sh ```