diff --git a/crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/delete.py b/crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/delete.py index 63593e52caf54f..f0ba1ede38d9ac 100644 --- a/crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/delete.py +++ b/crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/delete.py @@ -6,6 +6,10 @@ del x # Trailing comment # Dangling comment +del ( + # comment +) + # Some comment del x, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, b, c, d # Trailing comment # Dangling comment diff --git a/crates/ruff_python_formatter/src/snapshots/ruff_python_formatter__tests__ruff_test__statement__delete_py.snap b/crates/ruff_python_formatter/src/snapshots/ruff_python_formatter__tests__ruff_test__statement__delete_py.snap index 71ffb2deb49782..9d421b71f56f4a 100644 --- a/crates/ruff_python_formatter/src/snapshots/ruff_python_formatter__tests__ruff_test__statement__delete_py.snap +++ b/crates/ruff_python_formatter/src/snapshots/ruff_python_formatter__tests__ruff_test__statement__delete_py.snap @@ -12,6 +12,10 @@ b, c, d = (2, 3, 4) del x # Trailing comment # Dangling comment +del ( + # comment +) + # Some comment del x, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, b, c, d # Trailing comment # Dangling comment @@ -41,6 +45,10 @@ b, c, d = (2, 3, 4) del x # Trailing comment # Dangling comment +del ( + # comment +) + # Some comment del ( x,