-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.cursorrules
More file actions
18 lines (13 loc) · 971 Bytes
/
.cursorrules
File metadata and controls
18 lines (13 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Before any terminal command for Python tasks in this workspace, run:
- `source source_me` from the project root to set PYTHONPATH and activate the local environment.
Guidelines:
- Assume `source_me` exists in the repo root; if missing, proceed normally.
- Prefer absolute project paths when invoking tools.
- Do not modify `Makefile` to achieve environment activation.
- Keep `Makefile` (macOS/Linux) and `make.ps1` (Windows) in sync when either is modified.
- Do not add any commentary when implementing code changes.
- When fixing tests that fail then change the test code, do not change the code that is tested.
Assistant behavior:
- For linting, testing, docs, or Python scripts, first run `source source_me`.
- On a new terminal session, re-run `source source_me` before env-dependent commands.
- After code changes run `make lint` to check that the code adhers to ruff and mypy rules and run `make test` to check that all tests pass and that coverage is 100%.