Skip to content

Commit

Permalink
Move mypy command toward the end of the script
Browse files Browse the repository at this point in the history
This allows all the other good things to happen even if the mypy
command fails.
  • Loading branch information
jsf9k committed Oct 11, 2024
1 parent d703a20 commit 48d3b4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup-env
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,6 @@ for req_file in "requirements-dev.txt" "requirements-test.txt" "requirements.txt
fi
done

# Install all necessary mypy type stubs
mypy --install-types --non-interactive src/

# Install git pre-commit hooks now or later.
pre-commit install ${INSTALL_HOOKS:+"--install-hooks"}

Expand Down Expand Up @@ -285,5 +282,8 @@ else:
END_OF_LINE
)"

# Install all necessary mypy type stubs
mypy --install-types --non-interactive src/

# Qapla'
echo "Success!"

0 comments on commit 48d3b4f

Please sign in to comment.