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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user