Development#
Writing Code#
To create a development environment, you must have pixi installed.
A development environment (the default environment) can be created and activated with:
Some handy pixi commands are available:
pixi run lint # Lint the codebase with Ruff
pixi run format # Format the codebase with Ruff
pixi run type-check # Type-check the codebase with Mypy
pixi run test # Run the unit tests with Pytest
To build and the documentation locally:
To deploy the documentation (not usually necessary as it should be automatically deployed by GH Actions):
Publishing#
PyPI#
NOTE: Not yet implemented.
There is a GitHub Actions workflow that will automatically publish to PyPI when a new tag is pushed: