This file provides instructions and context for AI coding agents working on this repository.
We use the pixi package manager for this project for both development and production environments.
Please DO NOT use poetry or pip directly to install dependencies or run tasks.
By default, run Pixi tasks in the dev environment to avoid interactive environment selection prompts:
pixi run -e dev <task-or-command>When making changes to the codebase, please ensure that you:
- Run unit tests using the predefined
pixitask:Or for coverage:pixi run -e dev testpixi run -e dev cov
- Verify type correctness using the
typechecktask:pixi run -e dev typecheck
- Update tests corresponding to any new features or changed behaviors.
The project uses mkdocs for documentation.
If developing new features or modifying public APIs, consider updating the corresponding documentation and serve it to verify locally:
pixi run -e dev docs- Write clean, type-hinted code and prioritize robust solutions.
- Adhere to the style of the surrounding code (you can run
pixi run -e dev blackto format). - Provide clear and concise commit messages or changelogs.
- Ask questions if requirements are ambiguous or if a large architectural change is needed.