Skip to content

Commit

Permalink
[SPARK-2627] use tox.ini to exclude files
Browse files Browse the repository at this point in the history
No need to exclude files in the call to pep8. The tool references
tox.ini for config information, so we should use that.
  • Loading branch information
nchammas committed Aug 4, 2014
1 parent b09fae2 commit 44e3e56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions dev/lint-python
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@

[pep8]
max-line-length=100
exclude=cloudpickle.py

0 comments on commit 44e3e56

Please sign in to comment.