Skip to content

Conversation

@vivodi
Copy link
Contributor

@vivodi vivodi commented Jul 27, 2025

This commit updates the linter configuration to enable the pydocstyle rule set, which is identified by the "D" prefix in Ruff.

Enforcing docstring conventions will help improve code clarity and make the project easier to maintain and for new contributors to understand.

Copy link
Collaborator

@gazpachoking gazpachoking left a comment

Choose a reason for hiding this comment

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

All look good, except I think the AtrtibuteGenerator and datastar_response docstrings are a little worse with this change. I think we can just disable the imperative mood rule and leave those two as is.

This commit updates the linter configuration to enable the `pydocstyle` rule set, which is identified by the "D" prefix in Ruff.

Enforcing docstring conventions will help improve code clarity and make the project easier to maintain and for new contributors to understand.
@vivodi vivodi requested a review from gazpachoking July 27, 2025 16:20
@vivodi
Copy link
Contributor Author

vivodi commented Jul 27, 2025

I’ve already ignored the rule, but maybe it would be better to enable it and use noqa only for these few exceptions?

@gazpachoking
Copy link
Collaborator

I’ve already ignored the rule, but maybe it would be better to enable it and use noqa only for these few exceptions?

I think it's fine like this at least for now, thanks!

@gazpachoking gazpachoking merged commit 63061ec into starfederation:develop Jul 27, 2025
2 checks passed
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