This document captures repository-specific contribution guidance. Shared engineering rules
live in mpt-extension-skills and should be linked, not copied, from this repository.
- Python coding conventions
- Packages and dependencies
- Pull requests
- Repository documentation
- Makefile structure
This repository uses Docker as the default local execution model.
- Use
make buildto build the container image. - Use
make bashwhen you need an interactive shell inside the container. - Use
make runfor an IPython session with project dependencies available. - Use
make test,make check, andmake check-allthrough the providedmaketargets.
- Keep public API changes aligned with
mpt_api_client/mpt_client.pyand the resource/service layout described in architecture.md. - Keep resource-specific behavior inside the matching module under
mpt_api_client/resources/. - Keep transport and query behavior inside
mpt_api_client/http/andmpt_api_client/rql/. - Add or update tests near the affected domain under
tests/unit/ortests/e2e/. - When repository behavior changes, update the narrowest relevant document under
docs/.
Follow the shared validation flow from knowledge/build-and-checks.md.
In this repository, run validation through the Docker-based targets documented in
testing.md. Use make build first when dependencies or uv.lock change.