ruff
3e21d32b - Avoid flagging single-quoted docstrings with continuations for multi-line rules (#7392)

Commit
2 years ago
Avoid flagging single-quoted docstrings with continuations for multi-line rules (#7392) Rules like D209 and D205 are only intended to apply to multi-line docstrings. If a docstring is single-quoted, but extends via a continuation, it should be excluded (it'll be flagged by another rule anyway). Closes https://github.com/astral-sh/ruff/issues/7058.
Author
Parents
Loading