You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by rekhajoshm <gi...@git.apache.org> on 2018/09/15 02:54:35 UTC

[GitHub] spark pull request #22425: [SPARK-23367][Build] Include python document styl...

GitHub user rekhajoshm opened a pull request:

    https://github.com/apache/spark/pull/22425

    [SPARK-23367][Build] Include python document style checking 

    ## What changes were proposed in this pull request?
    Includes python document style checking.
    - Use sphinx like check, run only if pydocstyle installed on machine/jenkins
    - use pydocstyle rather than single file version pep257.py, which  is much older and had some known issues
    - verify pydocstyle latest 2.1.1 is in use, to ensure latest doc checks are getting executed
    - ignore (inclusion/exclusion error codes) features and support via tox.ini
    - Be non-breaking change and allow updating docstyle to standards at easy pace
    
    ## How was this patch tested?
    ./dev/run-tests


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rekhajoshm/spark SPARK-23367-2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/22425.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #22425
    
----
commit e3677c9fa9697e0d34f9df52442085a6a481c9e9
Author: Rekha Joshi <re...@...>
Date:   2015-05-05T23:10:08Z

    Merge pull request #1 from apache/master
    
    Pulling functionality from apache spark

commit 106fd8eee8f6a6f7c67cfc64f57c1161f76d8f75
Author: Rekha Joshi <re...@...>
Date:   2015-05-08T21:49:09Z

    Merge pull request #2 from apache/master
    
    pull latest from apache spark

commit 0be142d6becba7c09c6eba0b8ea1efe83d649e8c
Author: Rekha Joshi <re...@...>
Date:   2015-06-22T00:08:08Z

    Merge pull request #3 from apache/master
    
    Pulling functionality from apache spark

commit 6c6ee12fd733e3f9902e10faf92ccb78211245e3
Author: Rekha Joshi <re...@...>
Date:   2015-09-17T01:03:09Z

    Merge pull request #4 from apache/master
    
    Pulling functionality from apache spark

commit b123c601e459d1ad17511fd91dd304032154882a
Author: Rekha Joshi <re...@...>
Date:   2015-11-25T18:50:32Z

    Merge pull request #5 from apache/master
    
    pull request from apache/master

commit c73c32aadd6066e631956923725a48d98a18777e
Author: Rekha Joshi <re...@...>
Date:   2016-03-18T19:13:51Z

    Merge pull request #6 from apache/master
    
    pull latest from apache spark

commit 7dbf7320057978526635bed09dabc8cf8657a28a
Author: Rekha Joshi <re...@...>
Date:   2016-04-05T20:26:40Z

    Merge pull request #8 from apache/master
    
    pull latest from apache spark

commit 5e9d71827f8e2e4d07027281b80e4e073e7fecd1
Author: Rekha Joshi <re...@...>
Date:   2017-05-01T23:00:30Z

    Merge pull request #9 from apache/master
    
    Pull apache spark

commit 63d99b3ce5f222d7126133170a373591f0ac67dd
Author: Rekha Joshi <re...@...>
Date:   2017-09-30T22:26:44Z

    Merge pull request #10 from apache/master
    
    pull latest apache spark

commit a7fc787466b71784ff86f9694f617db0f1042da8
Author: Rekha Joshi <re...@...>
Date:   2018-01-21T00:17:58Z

    Merge pull request #11 from apache/master
    
    Apache spark pull latest

commit 3a2d45377ed4397de802badd764bc2588cfd275b
Author: Rekha Joshi <re...@...>
Date:   2018-02-09T04:55:12Z

    Merge pull request #12 from apache/master
    
    Apache spark latest pull

commit dca3a9e6f4c5fb6d34aeac7d2579c24102834fc2
Author: Rekha Joshi <re...@...>
Date:   2018-05-31T22:27:26Z

    Merge pull request #13 from apache/master
    
    apache spark latest pull

commit fe58c3770814543dbe923420f0bf77a74696f8d4
Author: Rekha Joshi <re...@...>
Date:   2018-06-21T05:59:44Z

    Merge remote-tracking branch 'upstream/master'

commit ae51f60e9451b4b6be7200f6f142e871c38a1a8a
Author: Rekha Joshi <re...@...>
Date:   2018-06-21T06:10:45Z

    Merge pull request #14 from apache/master
    
    latest apache spark

commit 1cf4ed2df52fbb1404ca8ddf015ac799989b7d62
Author: Rekha Joshi <re...@...>
Date:   2018-06-30T17:17:49Z

    Merge branch 'master' of https://github.com/rekhajoshm/spark

commit 1c48d4f6e49e5c818609ae1e82ed48ac8426a6d0
Author: Rekha Joshi <re...@...>
Date:   2018-06-30T17:20:10Z

    Merge pull request #15 from apache/master
    
    apache spark latest

commit aa735f5e1680b9abf23ce8e40b0b8436fdb61e2b
Author: Rekha Joshi <re...@...>
Date:   2018-06-30T17:21:09Z

    Merge branch 'master' of https://github.com/rekhajoshm/spark

commit 9356507de4fddec5322368027fed52511d7035b9
Author: Rekha Joshi <re...@...>
Date:   2018-09-15T02:31:02Z

    Merge pull request #16 from apache/master
    
    Apache Spark master latest

commit 64b2eb2af355ea97a82a4c445b7008428dd5e1fb
Author: Rekha Joshi <re...@...>
Date:   2018-09-15T02:31:35Z

    Merge branch 'master' of https://github.com/rekhajoshm/spark

commit af83d906655a5ee5cef1806ab4805f39e6fc4da5
Author: Rekha Joshi <re...@...>
Date:   2018-09-15T02:52:46Z

    [SPARK-23367][Build] Include python document style checking

----


---

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


[GitHub] spark pull request #22425: [SPARK-23367][Build] Include python document styl...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22425#discussion_r227001114
  
    --- Diff: dev/lint-python ---
    @@ -99,6 +104,29 @@ else
         echo "flake8 checks passed."
     fi
     
    +# Check python document style, skip check if pydocstyle is not installed.
    --- End diff --
    
    Nit: the indentation below looks different (4-space) from the rest of the script (2-space)


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    **[Test build #97836 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/97836/testReport)** for PR 22425 at commit [`cba18e8`](https://github.com/apache/spark/commit/cba18e8280d1f12c5a7d7961202df9097a77a0f1).
     * This patch **fails to generate documentation**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    **[Test build #97621 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/97621/testReport)** for PR 22425 at commit [`cba18e8`](https://github.com/apache/spark/commit/cba18e8280d1f12c5a7d7961202df9097a77a0f1).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by rekhajoshm <gi...@git.apache.org>.
Github user rekhajoshm commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Sorry, I was waiting from Feb2018 to Jul2018 on the previous PR  #20556  , and hence there is a bit of disconnect from this issue and delay in providing context in which this PR was created.
    
    As per earlier discussions with prior reviewers, the intent of this PR was to make changes to enable pydocstyle but not to include all pydocstyle changes across all docs as that would need to be discussed later and be prioritized. I will relook at this again with your comments and check pydoc for style corrections.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4133/
    Test PASSed.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4540/
    Test PASSed.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    **[Test build #98096 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/98096/testReport)** for PR 22425 at commit [`cba18e8`](https://github.com/apache/spark/commit/cba18e8280d1f12c5a7d7961202df9097a77a0f1).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by holdenk <gi...@git.apache.org>.
Github user holdenk commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    I think the scaladoc error is unrelated, jenkins retest this please.


---

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


[GitHub] spark pull request #22425: [SPARK-23367][Build] Include python document styl...

Posted by rekhajoshm <gi...@git.apache.org>.
Github user rekhajoshm commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22425#discussion_r220756119
  
    --- Diff: dev/tox.ini ---
    @@ -14,6 +14,8 @@
     # limitations under the License.
     
     [pycodestyle]
    -ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504
    +ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504,W605
     max-line-length=100
     exclude=cloudpickle.py,heapq3.py,shared.py,python/docs/conf.py,work/*/*.py,python/.eggs/*,dist/*
    +[pydocstyle]
    +ignore=D100,D101,D102,D103,D104,D105,D106,D107,D200,D201,D202,D203,D204,D205,D206,D207,D208,D209,D210,D211,D212,D213,D214,D215,D300,D301,D302,D400,D401,D402,D403,D404,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414
    --- End diff --
    
    Between [pydocstyle] to ignore is necessary and standard style. Post ignore the blank line was  added as per requested by last reviewer on previous PR - https://github.com/apache/spark/pull/20556#discussion_r168079061



---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    **[Test build #97820 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/97820/testReport)** for PR 22425 at commit [`cba18e8`](https://github.com/apache/spark/commit/cba18e8280d1f12c5a7d7961202df9097a77a0f1).


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by rekhajoshm <gi...@git.apache.org>.
Github user rekhajoshm commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Thank you @srowen @holdenk @HyukjinKwon for your review.
    
    As per discussion, in this PR, we are enabling docstyle change but not updating pydocs. Hence tox.ini has doc error codes included.It can be taken off few at a time.
    
    pydocstyle is newer correct way of handling doc style issues over pep257. It covers both pep257 and numpy convention style.  http://www.pydocstyle.org/en/3.0.0/error_codes.html
    
    updated pydocstyle to latest 3.0.0.
    removed W605 from tox.ini. (It had appeared in the build when this branch was created, not lingering from old PR.)


---

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


[GitHub] spark pull request #22425: [SPARK-23367][Build] Include python document styl...

Posted by holdenk <gi...@git.apache.org>.
Github user holdenk commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22425#discussion_r220950740
  
    --- Diff: dev/tox.ini ---
    @@ -14,6 +14,8 @@
     # limitations under the License.
     
     [pycodestyle]
    -ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504
    +ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504,W605
    --- End diff --
    
    I'm just confused why this would need to be changed in this PR -- hopefully just a hold over from the previous PR?


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3121/
    Test PASSed.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    **[Test build #97621 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/97621/testReport)** for PR 22425 at commit [`cba18e8`](https://github.com/apache/spark/commit/cba18e8280d1f12c5a7d7961202df9097a77a0f1).


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Merged to master. Anyone who feels like then addressing the style warnings, some that may be easy to address, go ahead.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark pull request #22425: [SPARK-23367][Build] Include python document styl...

Posted by rekhajoshm <gi...@git.apache.org>.
Github user rekhajoshm commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22425#discussion_r220757773
  
    --- Diff: dev/tox.ini ---
    @@ -14,6 +14,8 @@
     # limitations under the License.
     
     [pycodestyle]
    -ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504
    +ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504,W605
    --- End diff --
    
    The intent of this PR was on pydocstyle changes, and this was pycodestyle break, so was unsure if that fix can be included in this PR. I had seen W605 code style broken in that build, and to make it pass added this. I agree completely the fix for W605 can be done with no-PR trivial fix., will check again.



---

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


[GitHub] spark pull request #22425: [SPARK-23367][Build] Include python document styl...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22425#discussion_r217895205
  
    --- Diff: dev/tox.ini ---
    @@ -14,6 +14,8 @@
     # limitations under the License.
     
     [pycodestyle]
    -ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504
    +ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504,W605
     max-line-length=100
     exclude=cloudpickle.py,heapq3.py,shared.py,python/docs/conf.py,work/*/*.py,python/.eggs/*,dist/*
    +[pydocstyle]
    +ignore=D100,D101,D102,D103,D104,D105,D106,D107,D200,D201,D202,D203,D204,D205,D206,D207,D208,D209,D210,D211,D212,D213,D214,D215,D300,D301,D302,D400,D401,D402,D403,D404,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414
    --- End diff --
    
    This is tiny, but is this blank line necessary? it seems to separate the heading from its content?


---

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


[GitHub] spark pull request #22425: [SPARK-23367][Build] Include python document styl...

Posted by ueshin <gi...@git.apache.org>.
Github user ueshin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22425#discussion_r220956727
  
    --- Diff: dev/tox.ini ---
    @@ -14,6 +14,8 @@
     # limitations under the License.
     
     [pycodestyle]
    -ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504
    +ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504,W605
     max-line-length=100
     exclude=cloudpickle.py,heapq3.py,shared.py,python/docs/conf.py,work/*/*.py,python/.eggs/*,dist/*
    +[pydocstyle]
    +ignore=D100,D101,D102,D103,D104,D105,D106,D107,D200,D201,D202,D203,D204,D205,D206,D207,D208,D209,D210,D211,D212,D213,D214,D215,D300,D301,D302,D400,D401,D402,D403,D404,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414
    --- End diff --
    
    I just asked to add a line break at the end of file, and the current style looks good to me.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    **[Test build #98096 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/98096/testReport)** for PR 22425 at commit [`cba18e8`](https://github.com/apache/spark/commit/cba18e8280d1f12c5a7d7961202df9097a77a0f1).


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98096/
    Test PASSed.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Merged build finished. Test FAILed.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    **[Test build #96086 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/96086/testReport)** for PR 22425 at commit [`af83d90`](https://github.com/apache/spark/commit/af83d906655a5ee5cef1806ab4805f39e6fc4da5).


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    **[Test build #97844 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/97844/testReport)** for PR 22425 at commit [`cba18e8`](https://github.com/apache/spark/commit/cba18e8280d1f12c5a7d7961202df9097a77a0f1).


---

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


[GitHub] spark pull request #22425: [SPARK-23367][Build] Include python document styl...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/22425


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by holdenk <gi...@git.apache.org>.
Github user holdenk commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Gentle ping, whats up?


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96086/
    Test FAILed.


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/97621/
    Test PASSed.


---

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


[GitHub] spark pull request #22425: [SPARK-23367][Build] Include python document styl...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22425#discussion_r228712794
  
    --- Diff: dev/lint-python ---
    @@ -99,6 +104,29 @@ else
         echo "flake8 checks passed."
     fi
     
    +# Check python document style, skip check if pydocstyle is not installed.
    --- End diff --
    
    Actually, seems like indentation is inconsistent in this file, so let's leave it for now


---

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


[GitHub] spark pull request #22425: [SPARK-23367][Build] Include python document styl...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22425#discussion_r217895197
  
    --- Diff: dev/tox.ini ---
    @@ -14,6 +14,8 @@
     # limitations under the License.
     
     [pycodestyle]
    -ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504
    +ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504,W605
    --- End diff --
    
    Do we need to exclude 605? I thought we fixed all those...


---

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


[GitHub] spark issue #22425: [SPARK-23367][Build] Include python document style check...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22425
  
    **[Test build #96086 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/96086/testReport)** for PR 22425 at commit [`af83d90`](https://github.com/apache/spark/commit/af83d906655a5ee5cef1806ab4805f39e6fc4da5).
     * This patch **fails due to an unknown error code, -9**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark pull request #22425: [SPARK-23367][Build] Include python document styl...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22425#discussion_r227001346
  
    --- Diff: dev/tox.ini ---
    @@ -14,6 +14,8 @@
     # limitations under the License.
     
     [pycodestyle]
    -ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504
    +ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504,W605
     max-line-length=100
     exclude=cloudpickle.py,heapq3.py,shared.py,python/docs/conf.py,work/*/*.py,python/.eggs/*,dist/*
    +[pydocstyle]
    +ignore=D100,D101,D102,D103,D104,D105,D106,D107,D200,D201,D202,D203,D204,D205,D206,D207,D208,D209,D210,D211,D212,D213,D214,D215,D300,D301,D302,D400,D401,D402,D403,D404,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414
    --- End diff --
    
    EDIT: disregard, there isn't a blank line, it's just github display confusing me. Oops, sorry about that.


---

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


[GitHub] spark pull request #22425: [SPARK-23367][Build] Include python document styl...

Posted by holdenk <gi...@git.apache.org>.
Github user holdenk commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22425#discussion_r220950524
  
    --- Diff: dev/tox.ini ---
    @@ -14,6 +14,8 @@
     # limitations under the License.
     
     [pycodestyle]
    -ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504
    +ignore=E226,E241,E305,E402,E722,E731,E741,W503,W504,W605
     max-line-length=100
     exclude=cloudpickle.py,heapq3.py,shared.py,python/docs/conf.py,work/*/*.py,python/.eggs/*,dist/*
    +[pydocstyle]
    +ignore=D100,D101,D102,D103,D104,D105,D106,D107,D200,D201,D202,D203,D204,D205,D206,D207,D208,D209,D210,D211,D212,D213,D214,D215,D300,D301,D302,D400,D401,D402,D403,D404,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414
    --- End diff --
    
    I don't think that's what @ueshin was asking for, I think it was a blank line after the `ignore=...`, but if @ueshin is around we can see what @ueshin says. It's also relatively minor provided everything functions.


---

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