From 34711ecb44ba2706969fe78765f1ad8423b830ab Mon Sep 17 00:00:00 2001 From: Sean Owen Date: Sun, 31 Aug 2014 18:26:54 +0100 Subject: [PATCH] Restrict lint check to pyspark/, since the local directory can contain unzipped py4j code in build/py4j --- dev/lint-python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/lint-python b/dev/lint-python index 4efddad839387..a1e890faa8fa6 100755 --- a/dev/lint-python +++ b/dev/lint-python @@ -44,7 +44,7 @@ fi #+ first, but we do so so that the check status can #+ be output before the report, like with the #+ scalastyle and RAT checks. -python $PEP8_SCRIPT_PATH ./python > "$PEP8_REPORT_PATH" +python $PEP8_SCRIPT_PATH ./python/pyspark > "$PEP8_REPORT_PATH" pep8_status=${PIPESTATUS[0]} #$? if [ $pep8_status -ne 0 ]; then