Skip to content

Remove unused test deps & add AGENTS.md#9

Draft
lefi7z wants to merge 2 commits into
masterfrom
cursor/dev-env-setup-3074
Draft

Remove unused test deps & add AGENTS.md#9
lefi7z wants to merge 2 commits into
masterfrom
cursor/dev-env-setup-3074

Conversation

@lefi7z

@lefi7z lefi7z commented May 26, 2026

Copy link
Copy Markdown
Member

Changes

Removed unused test dependencies from pyproject.toml:

  • testcontainers ^4.13.0 — zero imports in codebase; required Docker for no reason
  • pytest-dependency ^0.6.1 — zero imports in codebase; no @pytest.mark.dependency usage anywhere

This also drops 5 transitive dependencies: docker, python-dotenv, setuptools, typing-extensions, wrapt.

Added AGENTS.md with Cursor Cloud development instructions.

Dependency audit

All remaining dependencies were verified as actively used:

Dependency Verdict Where used
h5py Required ionitof_reader.py, peaktable.py — HDF5 I/O
matplotlib Required plotting.py, examples — plotting
requests Required ssevent.py, ioniclient.py, db_api.py — HTTP/SSE clients
pandas Required ionitof_reader.py, peaktable.py, mqtt.py, batch.py — DataFrames
pyModbusTCP Required modbus.py — Modbus TCP client
paho-mqtt Required mqttclient.py, ionimock.py — MQTT instrument interface
click Required _cli.pyionimock CLI entry point
pytest Required all test files
ipykernel Optional (dev) no in-repo consumers, Jupyter convenience only

ipykernel is the only remaining candidate for removal — it has no imports or notebooks in the repo but is a reasonable dev convenience for interactive exploration.

Verification

All 34 tests pass, 1 skipped (unchanged from before):

34 passed, 1 skipped in 0.41s
Open in Web Open in Cursor 

cursoragent and others added 2 commits May 26, 2026 21:58
Co-authored-by: lefi7z <lefi7z@users.noreply.github.com>
Both packages had zero imports anywhere in the codebase.
Removing them also drops 5 transitive dependencies (docker,
python-dotenv, setuptools, typing-extensions, wrapt).

Co-authored-by: lefi7z <lefi7z@users.noreply.github.com>
@cursor cursor Bot changed the title Add AGENTS.md with Cursor Cloud development instructions Remove unused test deps & add AGENTS.md May 29, 2026
@lefi7z

lefi7z commented May 29, 2026

Copy link
Copy Markdown
Member Author

Yes, we should definitely provide some insightful testdata!

Some interesting, but small .h5 files, some peaktables, ... just something to get to work with.

(and to let the tests run!!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants