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:
python -m venv .venv
source .venv/bin/activate
pip install -U nox
python -m nox -s init
To run the tests:
python -m nox
Individual sessions are:
init
: Install pre-commit hookslint
: Run linters through pre-committyping
: Run mypytest
: Run tests (requires Docker to run testcontainers)