Github user BryanCutler commented on a diff in the pull request: https://github.com/apache/spark/pull/20378#discussion_r164920796 --- Diff: dev/lint-python --- @@ -83,6 +84,53 @@ else rm "$PEP8_REPORT_PATH" fi +#### Python Document Style Checks #### + +# Get PYDOCSTYLE at runtime so that we don't rely on it being installed on the build server. +# Using pep257.py which is the single file version of pydocstyle. +PYDOCSTYLE_VERSION="0.2.1" +PYDOCSTYLE_SCRIPT_PATH="$SPARK_ROOT_DIR/dev/pydocstyle-$PYDOCSTYLE_VERSION.py" +PYDOCSTYLE_SCRIPT_REMOTE_PATH="https://raw.githubusercontent.com/PyCQA/pydocstyle/$PYDOCSTYLE_VERSION/pep257.py" --- End diff -- Just wondering if this is an official channel to get this script from? I see pep8 download has a note above to use PyPI
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org