Github user holdenk commented on a diff in the pull request:
https://github.com/apache/spark/pull/22266#discussion_r214412844
--- 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 --
I think flake8 not being found is a pretty clear message you need to
install flake8. If we list it in `dev/requirements.txt` maybe that would help
folks?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]