Spaces:
Running
Running
Commit ·
6074bb1
0
Parent(s):
Add project instructions
Browse files
AGENTS.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Project Instructions
|
| 2 |
+
|
| 3 |
+
## Python Environment
|
| 4 |
+
|
| 5 |
+
- Always use `uv` to run Python scripts and manage dependencies — never use `pip` or `python` directly
|
| 6 |
+
- Run scripts with `uv run python script.py` instead of `python script.py`
|
| 7 |
+
- Install packages with `uv add package-name` instead of `pip install`
|
| 8 |
+
- To run one-off commands: `uv run <command>`
|
| 9 |
+
- The project uses `uv` for virtual environment management; do not create venvs manually with `python -m venv`
|
| 10 |
+
|
| 11 |
+
## Common Commands
|
| 12 |
+
|
| 13 |
+
- `uv run python script.py` — run a script
|
| 14 |
+
- `uv add <package>` — add a dependency
|
| 15 |
+
- `uv sync` — install all dependencies from lockfile
|
| 16 |
+
- `uv run pytest` — run tests
|