-
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
Add sphinx documentation style to pydocstyle config #6606
Comments
We can probably add a convention that's compatible, but there would also be necessary work to actually support parsing Sphinx docstrings (e.g., PyCQA/pydocstyle#595). pydocstyle itself does not support this. |
Alright, so as far as I know, the necessary pull requests to pydocstyle have been made as of 5 hours ago. Relevant commit here: PyCQA/pydocstyle/commit. |
Related, it would be nice to get a check when a different convention is used. |
(Removing |
Sounds great! Let me know if there's anything I can do to help. |
+1 on this feature. Any updates on sphinx support? |
Ditto @winwinashwin. We would adopt Ruff immediately on this project it there was sphinx support. Unfortunately, we have a code base full of Sphinx style docstrings and need to implement linting on them. |
Hi, just checking if/when this will be available? BTW thanks for making this super awesome tool! |
Hello, Also wondering if there's any plan updates to this? The project I work for is also looking for the support. |
@charliermarsh , @zanieb , hi! Sorry for pinging directly on this, I see this as an only option to revive this ticket. I noticed that this was going to be supported, but there haven't been news for a while. Could you please inform whether this is going to be supported in ruff? Looking forward to bundle this with uv usage to have a fully configured ecosystem for our projects. |
I think I found related PRs, as far as I understand they are still under review |
This comment was marked as spam.
This comment was marked as spam.
@seppzer0 I understand that this feature is important to you but please stop pinging people. We get a lot of notifications every day and pinging only results in additional distractions, meaning we have less time to do actual feature work. We plan to look at linked PRs but it might take a while because we have to balance it with other features that we want to ship. We'll make sure to update this issue or the linked PRs if there's an update. |
@MichaReiser , thank you for your response! I do understand that pinging people is not great, unfortunately though it is often the only way to remind of the topic at hand. Thank you once again for your work! Looking towards to this great feature 👍🏻 |
Addition of sphinx documentation style to pydocstyle config as so:
Currently pep257, google, and numpy documentation styles are supported. It'd be nice to have this major documentation style added as well.
The text was updated successfully, but these errors were encountered: