These rules assume that the docstring is on its own line. pydocstyle treats them inconsistently, so I'm just going to disable them in this case. Closes https://github.com/astral-sh/ruff/issues/6329.
range: _
range: _range
pylint
bad-format-character
E1300
.map_or(false, $closure)
.is_some_and(closure)
Nodes
skip_trailing_trivia