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

Figure out if we can use tool to verify docstring format #1217

Open
2 tasks
Tracked by #1216
guarin opened this issue May 10, 2023 · 2 comments
Open
2 tasks
Tracked by #1216

Figure out if we can use tool to verify docstring format #1217

guarin opened this issue May 10, 2023 · 2 comments
Labels

Comments

@guarin
Copy link
Contributor

guarin commented May 10, 2023

Requirements

Tasks

  • Figure out if such a tool exists
  • Add it to PIP and document how to use it. Best is to add a new command to the makefile
@guarin guarin mentioned this issue May 10, 2023
8 tasks
@guarin guarin added this to Cleanup Aug 25, 2023
@guarin guarin added the package label Aug 16, 2024
@ishaanagw
Copy link
Contributor

Hey @guarin, do you think we can use this - https://pypi.org/project/pydocstringformatter/#what-it-does

@guarin
Copy link
Contributor Author

guarin commented Oct 4, 2024

Hi, this looks interesting! There also seem to be a bunch of alternatives:

Maybe there are also others. My favorite would be ruff because we anyways want to switch to it (#1564) as it is very fast and we made good experiences with it. Having a single linter would be perfect. That said, I haven't tried it for linting docstrings and am not sure how well it works on our codebase. Would be interesting to try it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants