You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a docstring with one word (admittedly not a typical docstring 😉), if the word is not capitalised and there is no fullstop, the correct errors are raised
However, when adding a full stop, D403 is suppressed/not raised
The text was updated successfully, but these errors were encountered:
Okay, I was wrong. Split is used correctly. It always returns the string even if the split character isn't found. It bails because . isn't an ASCII character, and this matches pydocstyle's implementation.
I'll put up a PR but I"m not sure if we should change the current behavior because a single word isn't really a phrase...
Keywords searched for
D403
-> Potentially related to #2989Ruff version
0.3.0
Issue
For a docstring with one word (admittedly not a typical docstring 😉), if the word is not capitalised and there is no fullstop, the correct errors are raised
However, when adding a full stop,
D403
is suppressed/not raisedThe text was updated successfully, but these errors were encountered: