ruff/crates/ruff_linter
Auguste Lalande 3a742c17f8
[`pydoclint`] Fix `DOC501` panic #12428 (#12435)
## 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
2024-07-21 19:30:06 +00:00
..
resources [`pydoclint`] Fix `DOC501` panic #12428 (#12435) 2024-07-21 19:30:06 +00:00
src [`pydoclint`] Fix `DOC501` panic #12428 (#12435) 2024-07-21 19:30:06 +00:00
Cargo.toml Bump version to v0.5.4 (#12423) 2024-07-20 17:28:13 +00:00
__init__.py [`pylint`] (Re-)Implement `import-private-name` (`C2701`) (#9553) 2024-01-16 14:03:11 -05:00