Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 854 Bytes

File metadata and controls

46 lines (32 loc) · 854 Bytes

Contributing

Development setup

Requires Python 3.12+ and uv.

git clone <repo-url>
cd infermesh
uv sync --group dev
uv run pre-commit install

Running the test suite

uv run pytest                          # all tests
uv run pytest tests/test_client.py    # single file
uv run pytest -k "batch"              # filter by name

Type checking

uv run mypy src/infermesh tests

Linting and formatting

Pre-commit runs ruff and mypy automatically on every commit. To run manually:

uv run pre-commit run --all-files

Dependency security

uv run pip-audit

Pull requests

  • Keep changes focused; one concern per PR.
  • Add or update tests for any behaviour change.
  • Run uv run pre-commit run --all-files and uv run pytest before opening a PR.