Skip to content

Conversation

@StephenNneji
Copy link
Contributor

This enables some linting on docstrings. Ruff currently does not have options to check arguments in numpy docstring (astral-sh/ruff#12434) some checks are in beta or preview mode. We might have to use another package such as pydoclint in the interim.

@StephenNneji StephenNneji force-pushed the enable_docstring_linting branch from b0a9a97 to ccfb684 Compare November 28, 2025 14:38
@StephenNneji StephenNneji force-pushed the enable_docstring_linting branch from ccfb684 to 61b3869 Compare November 28, 2025 15:44
@StephenNneji StephenNneji marked this pull request as ready for review November 28, 2025 16:06
Copy link
Collaborator

@DrPaulSharp DrPaulSharp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good. As an extra, I've added a commit that makes some simple changes to resolve the rule D401 (whilst keeping it on the "ignore" list), which also helps make the docstrings more consistent with each other. Have a look and let me know what you think.

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 this pull request may close these issues.

2 participants