Uh oh!
There was an error while loading. Please reload this page.
[SPARK-31155] Remove pydocstyle tests - #27912
Conversation
nchammas
commented
Mar 14, 2020
pydocstyle tests are now running. |
SparkQA
commented
Mar 14, 2020
Test build #119794 has finished for PR 27912 at commit
|
SparkQA
commented
Mar 14, 2020
Test build #119795 has finished for PR 27912 at commit
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
HyukjinKwon
left a comment
There was a problem hiding this comment.
@nchammas, my current thought is that:
- We should exclude the pinning versions at
dev/requirements.txt - I am less strongly against about pinning versions at Github Actions.
- It currently ignores so many rules.
- Can you try to enable some rules? I am sure some rules will be able to enable as of fe75ff8.
- If there are still many rules to disable, should we maybe just revert
pydocstyleitself at this moment?
nchammas
commented
Mar 15, 2020
Here's a count of the errors when I try enabling all the rules: So it looks like there are a handful of rules we could perhaps enable, like D206, D215, D302, and D408-D411. |
nchammas
commented
Mar 15, 2020
I'd say the high-value rules are the D100s, which cover missing docstrings in public objects, though I wonder what "public" means to pydocstyle: Anything not named with a leading underscore? We're doing pretty badly in the missing docstring category, so if we aren't interested in making a push to clean up in that area perhaps it would be better to just rip pydocstyle out all together. |
SparkQA
commented
Mar 15, 2020
Test build #119808 has finished for PR 27912 at commit
|
nchammas
commented
Mar 15, 2020
Retest this please. |
SparkQA
commented
Mar 15, 2020
Test build #119815 has finished for PR 27912 at commit
|
HyukjinKwon
commented
Mar 16, 2020
Thanks @nchammas! Shall we revert SPARK-23367 in this PR for now? It should be fine to convert SPARK-31155 to describe the revert of SPARK-23367. cc @holdenk FYI. |
SparkQA
commented
Mar 16, 2020
Test build #119876 has finished for PR 27912 at commit
|
SparkQA
commented
Mar 16, 2020
Test build #119885 has finished for PR 27912 at commit
|
srowen
commented
Mar 16, 2020
Jenkins retest this please |
BryanCutler
left a comment
There was a problem hiding this comment.
Seems ok with me to remove given it's not being used and ignores many useful checks. I would support enabling again if there was an effort to fix some of checks.
SparkQA
commented
Mar 16, 2020
Test build #119894 has finished for PR 27912 at commit
|
HyukjinKwon
commented
Mar 17, 2020
Merged to master and branch-3.0. |
### What changes were proposed in this pull request? As discovered here #27910 (comment), pydocstyle tests were not running anywhere (not on Jenkins; not on GitHub). ~This PR enables those tests.~ It also seems like a [large hill to climb](#27912 (comment)) to enable any meaningful checks, so we're going to just rip pydocstyle out for now. ### Why are the changes needed? Presumably, we defined those doc style tests because we care about whatever it is they enforce. Since we're not actually testing anything, though, it's better to clear the cruft. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Will check the GitHub workflow logs on this PR. Closes#27912 from nchammas/SPARK-31155-pydocstyle. Authored-by: Nicholas Chammas <nicholas.chammas@liveramp.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org> (cherry picked from commit b4748ca) Signed-off-by: HyukjinKwon <gurwls223@apache.org>
This PR ports apache/spark#27912 to Koalas.
shaneknapp
commented
Mar 17, 2020
via email
late "lgtm", thanks coronavirus! …On Mon, Mar 16, 2020 at 6:42 PM Hyukjin Kwon ***@***.***> wrote:
Closed #27912 <#27912> via b4748ca
<b4748ca>
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#27912 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMIHLENGFASA7ZQZKDCSKTRH3IO5ANCNFSM4LIS6HGA>
.
|
### What changes were proposed in this pull request? As discovered here apache#27910 (comment), pydocstyle tests were not running anywhere (not on Jenkins; not on GitHub). ~This PR enables those tests.~ It also seems like a [large hill to climb](apache#27912 (comment)) to enable any meaningful checks, so we're going to just rip pydocstyle out for now. ### Why are the changes needed? Presumably, we defined those doc style tests because we care about whatever it is they enforce. Since we're not actually testing anything, though, it's better to clear the cruft. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Will check the GitHub workflow logs on this PR. Closesapache#27912 from nchammas/SPARK-31155-pydocstyle. Authored-by: Nicholas Chammas <nicholas.chammas@liveramp.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
This PR ports apache/spark#27912 to Koalas.
What changes were proposed in this pull request?
As discovered here #27910 (comment), pydocstyle tests were not running anywhere (not on Jenkins; not on GitHub).
This PR enables those tests.It also seems like a large hill to climb to enable any meaningful checks, so we're going to just rip pydocstyle out for now.
Why are the changes needed?
Presumably, we defined those doc style tests because we care about whatever it is they enforce. Since we're not actually testing anything, though, it's better to clear the cruft.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Will check the GitHub workflow logs on this PR.