-
Notifications
You must be signed in to change notification settings - Fork 516
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
Rule D417 #3072
Rule D417 #3072
Conversation
e24c269
to
81b9581
Compare
Way cool — that’s wild. And the config change means these will be kept up to date? @jamshale — would you mind look at the warnings we are getting when we generate the read the docs? To see them:
No worries if it is not obvious what is needed. Obvs, you need to install sphinx (or use docker) to run the commands. FYI — I’m using version |
Yes. It will at least fail the I'll have a look at the doc warnings 👀 |
Full agreement from me on switching to ruff for formatting too; it is noticeably faster than black |
Signed-off-by: jamshale <[email protected]>
Signed-off-by: jamshale <[email protected]>
Signed-off-by: jamshale <[email protected]>
Signed-off-by: jamshale <[email protected]>
Signed-off-by: jamshale <[email protected]>
@swcurran Did you used to get any warnings or errors when running I can continue looking into them but might create another task for it. I'm having quite a bit of trouble trying to resolve them effectively. |
Signed-off-by: jamshale <[email protected]>
I'm slowly figuring out how to fix the sphinx errors and warnings. I'll include the changes in this PR once I resolve them all. |
Should you push that to another PR? Don’t want to take too much of your time on it. |
We can merge this the way it is. They warnings and errors only effect the individual docs. The rest will still be generated. I think I should be done soon though. Fixed most of them. |
Signed-off-by: jamshale <[email protected]>
Signed-off-by: jamshale <[email protected]>
This is updated and should be good to go now. |
Quality Gate passedIssues Measures |
Updates function documentation to the appropriate level needed for rule D417 https://docs.astral.sh/ruff/rules/undocumented-param/. Helps developers understand and more quickly use functions if these are accurate.
Mostly used co-pilot to fill in wrong or missing arguments. Reviewed most of it and it looked like it was doing a good job.