Nicholas Chammas created SPARK-2627:
---------------------------------------

             Summary: Check for PEP 8 compliance on all Python code in the 
Jenkins CI cycle
                 Key: SPARK-2627
                 URL: https://issues.apache.org/jira/browse/SPARK-2627
             Project: Spark
          Issue Type: Improvement
          Components: Build
            Reporter: Nicholas Chammas


This issue was triggered by [the discussion 
here|https://github.com/apache/spark/pull/1505#issuecomment-49698681].

Requirements:
* make a linter script for Scala under {{dev/lint-scala}} that just calls 
{{scalastyle}}
* make a linter script for Python under {{dev/lint-python}} that calls {{pep8}} 
on all Python files
** One exception to this is {{cloudpickle.py}}, which is a third-party module 
[we don't want to 
touch|https://github.com/apache/spark/pull/1505#discussion-diff-15197904]
* Modify {{dev/run-tests}} to call both linter scripts
* Incorporate these changes into the [Contributing to 
Spark|https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark] 
guide



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to