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
@@ -13,7 +13,7 @@ uv sync # .venv with the package (editable) + dev group
uv run pytest # full suite (testpaths = tests)
uv run pytest tests/cfg/test_cfg.py::TestConfig_e2e::test_uses_spec_as_defaults # single test
uv run pytest -k "<keyword>"
uv run --python 3.8 pytest # any supported Python; uv.lock forks per version
uv run --isolated --python 3.8 pytest # any supported Python, without switching .venv
uv run ruff check --fix # lint + import sorting (config in pyproject.toml)
uv run ruff format # formatter, line length 88