Github user davies commented on a diff in the pull request:
https://github.com/apache/spark/pull/7241#discussion_r34398961
--- Diff: dev/lint-python ---
@@ -47,11 +49,36 @@ if [ ! -e "$PEP8_SCRIPT_PATH" ]; then
fi
fi
+# Easy install pylint in /dev/pylint. To easy_install into a directory,
the PYTHONPATH should
+# be set to the directory.
+# dev/pylint should be appended to the PATH variable as well.
+# Jenkins by default installs the pylint3 version, so for now this just
checks the code quality
+# of python3.
+export "PYTHONPATH=$SPARK_ROOT_DIR/dev/pylint"
--- End diff --
Should we put these somewhere outside of SPARK_HOME? Because we will call
`git clean` in jenkins. It will be good if we could re-use the installed
pylint.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]