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

List of allowed values for pylsp.plugins.pydocstyle.convention in CONFIGURATION.md incorrect #292

Closed
doolio opened this issue Nov 4, 2022 · 2 comments · Fixed by #295
Closed
Milestone

Comments

@doolio
Copy link
Contributor

doolio commented Nov 4, 2022

The CONFIGURATION suggests possible string values for pylsp.plugins.pydocstyle.convention are "pep257", "numpy", and "None" but the official documentation states the allowed values are in fact "pep257", "numpy", and "google".

@krassowski
Copy link
Contributor

krassowski commented Nov 4, 2022

"google" is only available since version 4.0.0 (https://www.pydocstyle.org/en/stable/release_notes.html#july-6th-2019) does pylsp already support it?

Edit: it seems the answer is yes, so the enum should be updated:

"pydocstyle>=2.0.0",

@doolio
Copy link
Contributor Author

doolio commented Nov 5, 2022

OK, PR #295 submitted for consideration.

@ccordoba12 ccordoba12 added this to the v1.7.0 milestone Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants