Check the version is runtime.txt
We use uv for Python dependency management. Follow the install instructions or run:
curl -LsSf https://astral.sh/uv/install.sh | sh
We use pre-commit to ensure that committed code meets basic standards for formatting, and will make basic fixes for you to save time and aggravation.
Install pre-commit system-wide with, eg brew install pre-commit
. Then, install the hooks in this repository with pre-commit install --install-hooks
.
This is a library we use to detect file types.
brew install libmagic
# install dependencies, etc.
make bootstrap
make run-flask
# install dependencies, etc.
make bootstrap
make test
We added the Python auto-formatter black
to this project after its inception. This required a bulk re-format of existing files, which generated a large and noisy commit. Git blame can be configured to ignore this commit with the following command:
git config --local blame.ignoreRevsFile .git-blame-ignore-revs