코딩 에이전트들이 uv를 회피하는 경향이 있어서 짜쳤었는데 이렇게 지시를 해두니 uv를 잘씀. never invoke 가 key term 인듯?
-
Python 3.11 + managed exclusively with
uv
.- Never invoke
pip
,python -m venv
,virtualenv
,poetry
.
- Never invoke
-
Environment workflow
1) create / refresh the virtual environment
uv venv source .venv/bin/activate
2) add or upgrade a dependency
uv add <package> uv add --dev <package> uv remove <package>
3) install everything exactly as pinned
uv sync
* **Running commands** – always prefix with `uv run --`
```bash
uv run -- ruff check .
uv run -- mypy .
uv run -- pytest -q