You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update scripts/linting/README.md — Invoke-PythonTests.ps1 description still says "verifies pytest availability" instead of uv-fi
[Content truncated due to length] #2006
scripts/linting/README.md describes Invoke-PythonTests.ps1 with the feature bullet: "Verifies pytest availability before running". After PR #1938, the script now primarily checks for uv availability and uses uv run pytest. Only when uv is not found does the script fall back to locating pytest directly (.venv or global).
Current (stale):
Verifies pytest availability before running
Expected:
Prefers uv run pytest when uv is available; falls back to venv or global pytest
Additionally, the section heading "Runs pytest across Python skills." is slightly misleading — it now runs tests via uv run pytest in the common case.
Expected Behavior
The feature list for Invoke-PythonTests.ps1 should state that uv is the primary executor (syncing dev dependencies with uv sync --dev before running), with pytest as a fallback only when uv is unavailable.
Component
Documentation
Bug Description
scripts/linting/README.mddescribesInvoke-PythonTests.ps1with the feature bullet: "Verifies pytest availability before running". After PR #1938, the script now primarily checks foruvavailability and usesuv run pytest. Only whenuvis not found does the script fall back to locatingpytestdirectly (.venv or global).Current (stale):
Expected:
Additionally, the section heading "Runs pytest across Python skills." is slightly misleading — it now runs tests via
uv run pytestin the common case.Expected Behavior
The feature list for
Invoke-PythonTests.ps1should state thatuvis the primary executor (syncing dev dependencies withuv sync --devbefore running), with pytest as a fallback only whenuvis unavailable.Steps to Reproduce
scripts/linting/README.mdat theInvoke-PythonTests.ps1section (around line 431–444).scripts/linting/Invoke-PythonTests.ps1.Additional Context
scripts/linting/README.md(lines 431–444)scripts/linting/Invoke-PythonTests.ps1