Check the version is the same as at the top of Dockerfile
We use uv for Python dependency management. Follow the install instructions or run:
curl -LsSf https://astral.sh/uv/install.sh | shWe 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 testWe 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