Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 676 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 676 Bytes

Templatebot

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.

Development

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 hooks
  • lint: Run linters through pre-commit
  • typing: Run mypy
  • test: Run tests (requires Docker to run testcontainers)