Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/22266#discussion_r214203205
--- Diff: dev/lint-python ---
@@ -82,6 +82,25 @@ else
rm "$PYCODESTYLE_REPORT_PATH"
fi
+# stop the build if there are Python syntax errors or undefined names
+flake8 . --count --select=E901,E999,F821,F822,F823 --show-source
--statistics
--- End diff --
If so, maybe it's still good to detect `flake8` and show some message to
ask for install.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]