The base instructions to set up the development environment are located in CONTRIBUTING.md.
Ensure Homebrew is already set up.
Then install python 3.11.
brew install [email protected]
Add python 3.11 to your path: add the following line to ~/.zshrc
export PATH="$(brew --prefix)/opt/[email protected]/libexec/bin:$PATH"
Note: You will need to open a new terminal for the path change above to take effect.
On macOS, you will need to install Docker Desktop and ensure it is running before continuing with the docker commands.
MacOS will likely require you to remove some quarantine attributes on some of the hooks for them to execute properly. After installing pre-commit, run the following command:
sudo xattr -r -d com.apple.quarantine ~/.cache/pre-commit