doc: use uv run --isolated for other-Python test runs

A bare `uv run --python 3.8` rebuilds the project .venv on 3.8, after
which the pre-commit hook (pre-commit-hooks needs >=3.9) fails on commit.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
golem
2026-10-05 00:27:50 -06:00
co-authored by Claude Opus 5.5
parent 7d80557a3e
commit bee5a691d9
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ or
uv run pytest # full suite
uv run pytest tests/cfg/test_cfg.py::TestConfig_e2e::test_uses_spec_as_defaults
uv run pytest -k "<keyword>"
uv run --python 3.8 pytest # against another supported Python
uv run --isolated --python 3.8 pytest # another supported Python; --isolated keeps .venv as is
```
# Development