diff --git a/dev/lint-python b/dev/lint-python index 9913313ab349c..4efddad839387 100755 --- a/dev/lint-python +++ b/dev/lint-python @@ -44,8 +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 --exclude="cloudpickle.py" \ - > "$PEP8_REPORT_PATH" +python $PEP8_SCRIPT_PATH ./python > "$PEP8_REPORT_PATH" pep8_status=${PIPESTATUS[0]} #$? if [ $pep8_status -ne 0 ]; then diff --git a/tox.ini b/tox.ini index 44766e529bf7f..a1fefdd0e176f 100644 --- a/tox.ini +++ b/tox.ini @@ -15,3 +15,4 @@ [pep8] max-line-length=100 +exclude=cloudpickle.py