Skip to content
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

Enable more Pydocstyle rules #11582

Merged
merged 10 commits into from
Aug 23, 2022
Merged

Conversation

bdice
Copy link
Contributor

@bdice bdice commented Aug 23, 2022

Description

Recently I have reviewed a handful of PRs with problems in their docstrings that I've been fixing with GitHub review suggestions. I took 40 minutes and enabled a bunch of pydocstyle rules that we agreed on in #10711, to help prevent some of these problems and reduce the amount of review effort required for the future. There are a handful of big ones (D200, D202, D205, D400) that will require a more intense effort to implement -- those rules may not be worth the significant refactoring effort. I think this may resolve the part of #10711 that we wanted to tackle in the short term, though I'm happy to hear others' views (@shwina @vyasr).

Error code reference: https://www.pydocstyle.org/en/stable/error_codes.html

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@bdice bdice added doc Documentation Python Affects Python cuDF API. non-breaking Non-breaking change labels Aug 23, 2022
@bdice bdice self-assigned this Aug 23, 2022
@bdice bdice requested a review from a team as a code owner August 23, 2022 15:27
@bdice bdice added this to PR-WIP in v22.10 Release via automation Aug 23, 2022
@bdice bdice requested a review from a team as a code owner August 23, 2022 15:27
Copy link
Contributor

@shwina shwina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Happy to defer enforcing the remaining rules to a future PR.

v22.10 Release automation moved this from PR-WIP to PR-Reviewer approved Aug 23, 2022
Copy link
Contributor

@galipremsagar galipremsagar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome ! Way less noise(warnings) during docs build 🥳 🕺

@codecov
Copy link

codecov bot commented Aug 23, 2022

Codecov Report

❗ No coverage uploaded for pull request base (branch-22.10@e431440). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff               @@
##             branch-22.10   #11582   +/-   ##
===============================================
  Coverage                ?   86.40%           
===============================================
  Files                   ?      145           
  Lines                   ?    22959           
  Branches                ?        0           
===============================================
  Hits                    ?    19838           
  Misses                  ?     3121           
  Partials                ?        0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@bdice
Copy link
Contributor Author

bdice commented Aug 23, 2022

Awesome ! Way less noise(warnings) during docs build 🥳 🕺

Fantastic point! I hadn't thought to check that.

@bdice
Copy link
Contributor Author

bdice commented Aug 23, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit da6b3ed into rapidsai:branch-22.10 Aug 23, 2022
v22.10 Release automation moved this from PR-Reviewer approved to Done Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Documentation non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants