Development#
To create a development environment, you must have pixi installed.
A development environment can be created with:
This will install all dependencies and set up pre-commit hooks. The pixi environment is automatically activated when you run commands through pixi run.
To format the codebase:
To run the unit tests:
To check code style:
To run the example notebooks:
To build the documentation:
To serve the documentation locally:
Multiple Environments#
The project includes two environments to test compatibility with different pydantic versions:
- default: Uses pydantic >=2 (includes all features)
- pydantic-1: Uses pydantic <2 (excludes
absolvwhich requires pydantic >=2 due to use offemto)
To run tests in the pydantic-1 environment: