Contributing
GitHub
https://github.com/AstroHuntsman/huntsman-drp https://github.com/AstroHuntsman/obs_huntsman
Testing
In order to test local changes to huntsman-drp
, set the environment variable HUNTSMAN_DRP
to
point to your local repository. If you also want to test local changes to obs_huntsman
, do the
same for that repository using the OBS_HUNTSMAN
variable.
To run all the unit tests, do:
$ bash ${HUNTSMAN_DRP}/scripts/testing/run-local-tests.sh
If instead you want to enter the docker container and run some other commands, you can do:
$ docker-compose -f ./docker/testing/docker-compose.yml run --rm python-tests /bin/bash
Code style guide
# snake_case etc
# Use of from_config and default keyword arg values
# Docstring formatting (google)
Documentation
# Not here to teach people how to use Docker, LSST stack or python. Keep succinct.