Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## Cursor Cloud specific instructions

This is a Poetry-managed Python 3.12 project (PTR-MS scientific instrumentation library).

### Quick reference

- **Install deps:** `poetry install`
- **Run tests:** `poetry run pytest` (runs unit tests, doctests from `README.md`, and module doctests — see `tox.ini` `[pytest]` for config)
- **Run tests via tox:** `tox` (targets `py312`)
- **CLI entry point:** `poetry run ionimock` (mock instrument server)

### Notes

- No linter/formatter is configured in the repo. There are no flake8, ruff, mypy, or black configs.
- The `testdata` git submodule points to an internal Ionicon server (`git.ionicon.local`) and will not resolve from outside their network. This does not affect the test suite.
- Poetry installs to `~/.cache/pypoetry/virtualenvs/`. Use `poetry run` to execute commands in the virtualenv, or `poetry env info --path` to find it.
- Ensure `~/.local/bin` is on `PATH` so the `poetry` command is available (the update script handles this).
Loading