mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
![]() <!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary Fixes https://github.com/astral-sh/ruff/issues/7448 Fixes https://github.com/astral-sh/ruff/issues/7892 I've removed automatic dangling comment formatting, we're doing manual dangling comment formatting everywhere anyway (the assert-all-comments-formatted ensures this) and dangling comments would break the formatting there. ## Test Plan New test file. --------- Co-authored-by: Micha Reiser <micha@reiser.io> |
||
---|---|---|
.. | ||
carriage_return | ||
expression | ||
fmt_on_off | ||
fmt_skip | ||
parentheses | ||
statement | ||
stub_files | ||
.editorconfig | ||
docstring.options.json | ||
docstring.py | ||
empty_multiple_trailing_newlines.py | ||
empty_now_newline.py | ||
empty_trailing_newline.py | ||
empty_whitespace.py | ||
form_feed.py | ||
module_dangling_comment1.py | ||
module_dangling_comment2.py | ||
newlines.py | ||
newlines.pyi | ||
skip_magic_trailing_comma.options.json | ||
skip_magic_trailing_comma.py | ||
tab_width.options.json | ||
tab_width.py | ||
trailing_comments.py | ||
trivia.py |