Github user ueshin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20556#discussion_r168078994
  
    --- Diff: dev/lint-python ---
    @@ -21,10 +21,15 @@ SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
     SPARK_ROOT_DIR="$(dirname "$SCRIPT_DIR")"
     # Exclude auto-generated configuration file.
     PATHS_TO_CHECK="$( cd "$SPARK_ROOT_DIR" && find . -name "*.py" )"
    +DOC_PATHS_TO_CHECK="$( cd "$SPARK_ROOT_DIR" && find . -name "*.py" | grep 
-vF 'functions.py')"
     PYCODESTYLE_REPORT_PATH="$SPARK_ROOT_DIR/dev/pycodestyle-report.txt"
    +PYDOCSTYLE_REPORT_PATH="$SPARK_ROOT_DIR/dev/pydocstyle-report.txt"
     PYLINT_REPORT_PATH="$SPARK_ROOT_DIR/dev/pylint-report.txt"
     PYLINT_INSTALL_INFO="$SPARK_ROOT_DIR/dev/pylint-info.txt"
    +PYDOCSTYLEBUILD="pydocstyle"
    +PYDOCSTYLEVERSION=$(python -c 'import pkg_resources; print 
pkg_resources.get_distribution("pydocstyle").version')
    --- End diff --
    
    `..; print(pkg_resources.get_distribution("pydocstyle").version)' 2> 
/dev/null)`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to