diff --git a/.pre-commit-run-mypy.sh b/.pre-commit-run-mypy.sh index 5a0e07d6..348e4b76 100644 --- a/.pre-commit-run-mypy.sh +++ b/.pre-commit-run-mypy.sh @@ -8,14 +8,14 @@ set -o errexit # Change directory to the project root directory. cd "$(dirname "$0")" -apt install python3-venv -apt install python3-pip +which pip # 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 +# export POETRY_HOME=~/poetry +# python3 -m venv $POETRY_HOME +# $POETRY_HOME/bin/ +pip install poetry==1.8.2 poetry config virtualenvs.in-project true poetry install --with dev