Templatebot creates new projects and files based on templates in Rubin Observatory's https://github.com/lsst/templates repository. Templatebot works with the Squarebot Slack front-end.
To bootstrap a development environment, create a virtual environment and install nox: Development requires uv for managing virtual environments and depedencies. Set up a virtual environment and install the required dependencies:
uv venv
source .venv/bin/activate
make init
To run the tests:
uv --only-group=nox nox
Individual sessions are:
lint
: Run linters through pre-committyping
: Run mypytest
: Run tests (requires Docker to run testcontainers)
To update the uv lockfile and re-install dependencies:
make update