MichaelRKessler commited on
Commit
74e8514
Β·
verified Β·
1 Parent(s): 4c30162

Sync from GitHub via hub-sync

Browse files
Files changed (1) hide show
  1. Agents.md +7 -0
Agents.md CHANGED
@@ -13,3 +13,10 @@ Always use `uv` to run Python scripts and manage dependencies β€” never use `pip
13
  - `uv add <package>` β€” add a dependency
14
  - `uv sync` β€” install all dependencies from lockfile
15
  - `uv run pytest` β€” run tests
 
 
 
 
 
 
 
 
13
  - `uv add <package>` β€” add a dependency
14
  - `uv sync` β€” install all dependencies from lockfile
15
  - `uv run pytest` β€” run tests
16
+
17
+ ## Cursor Cloud specific instructions
18
+
19
+ - This repo is a single-product **Gradio** web app ("Image Rotator"). The only service is `app.py`; run it with `uv run python -u app.py`, which serves the UI at http://127.0.0.1:7860. There is no database, backend API, or other auxiliary service.
20
+ - Dependencies are managed by `uv` (source of truth: `uv.lock` + `pyproject.toml`, Python pinned to 3.12 via `.python-version`). The startup update script runs `uv sync`, so a fresh session already has deps installed. `uv` lives at `~/.local/bin/uv` and is on PATH in login/interactive shells (added via `~/.bashrc`/`~/.profile`); in a non-login `bash -c` context, prefix commands with `PATH="$HOME/.local/bin:$PATH"`.
21
+ - No lint config and no test files exist despite `uv run pytest` being listed above (pytest is not even installed); running it will report "no tests ran" / a missing module rather than a real suite. Don't treat that as a broken environment.
22
+ - Ignore `.vscode/settings.json`'s conda reference β€” `uv` is authoritative for this project.