Files
libsignal/bin/mac_setup.sh
Jordan Rose d95b4b5a57 Add shellcheck, flake8, and mypy to just check-pre-commit
And update mac_setup.sh to include mypy and flake8 and the new flake8
plugins.

Co-authored-by: Max Moiseev <moiseev@signal.org>
2025-10-28 15:05:47 -07:00

39 lines
814 B
Bash
Executable File

#!/bin/bash
#set -ex
brew bundle install --file=- << EOF
brew "awscli"
brew "cmake"
brew "cocoapods"
brew "coreutils"
brew "fnm"
brew "gh"
brew "git"
brew "jq"
brew "just"
brew "pipx"
brew "protobuf"
brew "python"
brew "rocksdb"
brew "ruby"
brew "rustup"
brew "shellcheck"
brew "swiftlint"
brew "taplo"
brew "terraform"
brew "yamllint"
cask "google-cloud-sdk"
EOF
# Install Python tools using pipx.
# This keeps their dependencies isolated from other things on your system,
# but is still global state for each tool. We may some day want to switch this to a venv instead.
"$(brew --prefix pipx)/bin/pipx" install mypy
"$(brew --prefix pipx)/bin/pipx" install flake8
"$(brew --prefix pipx)/bin/pipx" inject flake8 \
flake8-comprehensions \
flake8-deprecated \
flake8-import-order \
flake8-quotes