-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
pydocstyle
rules should follow naming convention
#15009
Comments
We'll also need to add redirects for the documentation website. |
Hi all! I'd like to work on this issue. Is the idea to rename |
Right! You want it to be grammatically correct to say "allow (rule name)" if you want to turn off the lint rule. And great, thanks for your help! |
No problem @dylwil3 happy to help :) I'll confirm the naming conventions with you before making any changes. |
@dylwil3 thoughts? |
Looks good to me, very thorough @enochkan ! I'd welcome a PR - let me know if you need help sorting out where to change the name. Thanks again! |
@dylwil3 actually I probably need some help :P did a quick search and found most occurrences in |
I've found occurrences in these places so far:
@dylwil3 anything else? |
@enochkan Sure! Let's walk through the steps to change
If it helps here's an example PR implementing a name change: #12399 In any event, maybe it's easiest from here just to open a PR and we can hunt for any missing changes from there - the code compiling will already be a positive signal. Thanks for your diligence! |
The following rules should be renamed to conform to Ruff's naming convention:
fits-on-one-line
(D200
)no-blank-line-before-function
(D201
)no-blank-line-after-function
(D202
)one-blank-line-before-class
(D203
)one-blank-line-after-class
(D204
)blank-line-after-summary
(D205
)indent-with-spaces
(D206
)section-not-overindented
(D214
)section-underline-not-overindented
(D215
)ends-in-period
(D400
)no-signature
(D402
)capitalize-section-name
(D405
)new-line-after-section-name
(D406
)dashed-underline-after-section
(D407
)section-underline-after-name
(D408
)section-underline-matches-section-length
(D409
)blank-line-after-last-section
(D413
)ends-in-punctuation
(D415
)section-name-ends-in-colon
(D416
)[Apologies if any of these are in error - double negating on the fly may have spun my head around]
The text was updated successfully, but these errors were encountered: