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
fix(ci): run lint commands directly with uv run instead of bash script
The issue was that 'uv run bash scripts/lint.sh' doesn't activate the venv
for the bash subprocess, so commands inside the script can't find tools.
Solution: Run lint commands directly in workflow with 'uv run' prefix:
- uv run mypy app
- uv run ruff check app
- uv run ruff format app --check
This is the recommended approach per uv documentation and GitHub issue fastapi#1910.
The bash script approach doesn't work because bash subprocess doesn't inherit
the activated environment.
Related to CUR-29
🤖 Generated by Aygentic
Co-Authored-By: Aygentic <noreply@aygentic.com>
0 commit comments