| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 1 | 3 | 0% |
| Commands | 0 | 1 | 10 | 0% |
| Section tags | 1 | 0 | 2 | 33% |
What each file covers
Sections
0 shared · 1 only in A · 3 only in B- − Tests (Backend + Frontend)
- + Python Tooling: Use uv (not Poetry or pip)
- + Common uv commands
- + Notes
Commands
0 shared · 1 only in A · 10 only in B- − make test
- + poetry
- + pip
- + uv sync
- + uv run <command>
- + uv run pytest
- + uv run alembic upgrade head
- + uv add <package>
- + uv remove <package>
- + uv venv
- + uv run ...
Section tags
1 shared · 0 only in A · 2 only in B- + setup
- + code-style
- test
Line diff
weirdfingers/boards · .cursor/rules/test.mdc
@@ −1 @@
1---
2description: Run backend and frontend tests via the project Makefile
3alwaysApply: false
4---
5
6# Tests (Backend + Frontend)
7
8Use the root Makefile target to run all tests across the monorepo.
9
10- Backend: Python tests via pytest (run under uv-managed envs)
11- Frontend: Workspace test scripts via Turbo/pnpm
12
13Command (run at repository root):
14
15```bash
16make test
17```
18
19Reference: [Makefile](mdc:Makefile) target `test`.
20
weirdfingers/boards · .cursor/rules/python-tooling.mdc
@@ +1 @@
1---
2alwaysApply: true
3---
4
5## Python Tooling: Use uv (not Poetry or pip)
6
7- **Policy**: Use `uv` for Python dependency management, virtual environments, and scripts.
8- **Prohibited**: Do not use `poetry` or `pip` for project tasks in this repository.
9- **Canonical project files**: [packages/backend/pyproject.toml](mdc:packages/backend/pyproject.toml), [packages/backend/uv.lock](mdc:packages/backend/uv.lock)
10
11### Common uv commands
12
13- **Install deps / sync env**: `uv sync`
14- **Run a command in project env**: `uv run <command>` (examples: `uv run pytest`, `uv run alembic upgrade head`)
15- **Add dependency**: `uv add <package>` (use `--dev` for dev-only)
16- **Remove dependency**: `uv remove <package>`
17- **Manage venv explicitly (optional)**: `uv venv`
18
19### Notes
20
21- `uv` reads and updates `pyproject.toml` and maintains `uv.lock`.
22- Prefer `uv run ...` in CI and docs for any Python CLI (tests, linters, Alembic, scripts).
23
@@ −1 +1 @@
11 ---
2−description: Run backend and frontend tests via the project Makefile
3−alwaysApply: false
2+alwaysApply: true
43 ---
54
6−# Tests (Backend + Frontend)
5+## Python Tooling: Use uv (not Poetry or pip)
76
8−Use the root Makefile target to run all tests across the monorepo.
7+- **Policy**: Use `uv` for Python dependency management, virtual environments, and scripts.
8+- **Prohibited**: Do not use `poetry` or `pip` for project tasks in this repository.
9+- **Canonical project files**: [packages/backend/pyproject.toml](mdc:packages/backend/pyproject.toml), [packages/backend/uv.lock](mdc:packages/backend/uv.lock)
910
10−- Backend: Python tests via pytest (run under uv-managed envs)
11−- Frontend: Workspace test scripts via Turbo/pnpm
11+### Common uv commands
1212
13−Command (run at repository root):
13+- **Install deps / sync env**: `uv sync`
14+- **Run a command in project env**: `uv run <command>` (examples: `uv run pytest`, `uv run alembic upgrade head`)
15+- **Add dependency**: `uv add <package>` (use `--dev` for dev-only)
16+- **Remove dependency**: `uv remove <package>`
17+- **Manage venv explicitly (optional)**: `uv venv`
1418
15−```bash
16−make test
17−```
19+### Notes
1820
19−Reference: [Makefile](mdc:Makefile) target `test`.
21+- `uv` reads and updates `pyproject.toml` and maintains `uv.lock`.
22+- Prefer `uv run ...` in CI and docs for any Python CLI (tests, linters, Alembic, scripts).
2023
