Fokko commented on a change in pull request #29180:
URL: https://github.com/apache/spark/pull/29180#discussion_r507199748
##########
File path: dev/lint-python
##########
@@ -122,6 +123,31 @@ function pycodestyle_test {
fi
}
+function mypy_test {
+ local MYPY_REPORT=
+ local MYPY_STATUS=
+
+ if ! hash "$MYPY_BUILD" 2> /dev/null; then
+ echo "The mypy command was not found."
+ echo "mypy checks failed."
+ exit 1
+ fi
Review comment:
Better, thanks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]