-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-31155] Remove pydocstyle tests #27912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
pydocstyle tests are now running. |
|
Test build #119794 has finished for PR 27912 at commit
|
|
Test build #119795 has finished for PR 27912 at commit
|
HyukjinKwon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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?
|
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. |
|
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. |
|
Test build #119808 has finished for PR 27912 at commit
|
|
Retest this please. |
|
Test build #119815 has finished for PR 27912 at commit
|
|
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. |
srowen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK by me either way.
|
Test build #119876 has finished for PR 27912 at commit
|
|
Test build #119885 has finished for PR 27912 at commit
|
|
Jenkins retest this please |
BryanCutler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
|
Test build #119894 has finished for PR 27912 at commit
|
|
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 <[email protected]> Signed-off-by: HyukjinKwon <[email protected]> (cherry picked from commit b4748ca) Signed-off-by: HyukjinKwon <[email protected]>
This PR ports apache/spark#27912 to Koalas.
|
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. Closes apache#27912 from nchammas/SPARK-31155-pydocstyle. Authored-by: Nicholas Chammas <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
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.