mirror of https://github.com/astral-sh/ruff
## Summary Fix panic reported in #12428. Where a string would sometimes get split within a character boundary. This bypasses the need to split the string. This does not guarantee the correct formatting of the docstring, but neither did the previous implementation. Resolves #12428 ## Test Plan Test case added to fixture |
||
|---|---|---|
| .. | ||
| DOC501.py | ||
| DOC501_google.py | ||
| DOC501_numpy.py | ||
| DOC502_google.py | ||
| DOC502_numpy.py | ||