Should a docstring section header be allowed without a docstring summary? #8394
Unanswered
jorgegomezcq
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Or, stated differently. How can I avoid the above fix from occuring? I'm not sure what ruff pydocstyle rule caused it. I'll try to trigger it again and run |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Should a docstring section header be allowed without a docstring summary?
If ruff rule D212 is enabled,
ruff
will try to put the docstring section header on the first line thinking that this is the docstring summary.Here is a fragment from my
git diff
of what ruff did:Beta Was this translation helpful? Give feedback.
All reactions