See README.md
in the parent directory for instructions.
$ (cd .. && make install-test-dependencies develop)
$ make test
To test a file:
$ pytest tests/test_config.py
Or, an individual test:
$ pytest tests/test_config.py -k test_validate
Any contributions must be formatted with Black. The best thing is to set up your editor to automatically format code, but you can also do it manually by running:
$ make fmt
We vendor the few Python libraries we depend on to avoid dependency hell. We use vendoring, the same tool used by pip.
The vendored packages are defined in keepsake/_vendor/vendor.txt
. If you add/change anything in there, run this to update the vendored libraries:
make vendor