Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.02 KB

CONTRIBUTING_MACOS.md

File metadata and controls

36 lines (23 loc) · 1.02 KB

Some additional notes for Mac Users

The base instructions to set up the development environment are located in CONTRIBUTING.md.

Setting up Python

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.

Setting up Docker

On macOS, you will need to install Docker Desktop and ensure it is running before continuing with the docker commands.

Formatting and Linting

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