Skip to content

Commit

Permalink
Specify python3 -m pip
Browse files Browse the repository at this point in the history
  • Loading branch information
glatterf42 committed Oct 16, 2024
1 parent c9a80ba commit d421219
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pre-commit-run-mypy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ set -o errexit
cd "$(dirname "$0")"

which pip
which python3

# Install the dependencies into the mypy env.
# Note that this can take seconds to run.
# export POETRY_HOME=~/poetry
# python3 -m venv $POETRY_HOME
# $POETRY_HOME/bin/
pip install poetry==1.8.2
python3 -m pip install poetry==1.8.2

poetry config virtualenvs.in-project true
poetry install --with dev
Expand Down

0 comments on commit d421219

Please sign in to comment.